jquery on SO

0 answers

Unable to find the elements on jquery popup form by selenium webdriver

I am writing the automation but at one place I need to fill the contact form which is a jquery form and I am finding the elements on the form by using selenium webdriver. I have tried by xpaths, by …

0 answers

Cant get array from ajax

I have asp.net application where need to implement autocomplete, I try to load list of names from server side and then deserealize it in js code, but have an 500 error, can anybody help me? Unknown …

1 answer

PHP/Javascript search form returning all rows instead of ones matching search term

I've created the following search form, there aren't any errors, but instead of showing the rows that are similar to the search term, I just get the whole list of rows from the selected table in the …

1 answer

Showing no content from a drop-down list until the second drop-down list has a selection

I've managed to get one drop-down list to populate the second drop-down list based on the selection. HTML here: <select size="1" id="BodyPart" title="" name="BodyPart"> <option ...

1 answer

Javascript use very much of memory

I have a diagram with canvas on my website that it change real time. Every 5 second ajax call a function that get data from database and give them to another function to make canvas. After a short …

0 answers

Using local image in jquery

I'm trying to use a jquery plugin to crop images in a web I'm developing with CakePHP. I want to crop the profile image in the profile form, which is using this code to show a preview of the image: …

3 mins ago
1 answer

ACE Editor is not showing JSON data

I am using ACE Editor on the top of jQuery tab. I am trying to fetch data of two files from server and trying to show on ACE Editor. I am using AJAX and JSON. two tabs are being created, things are …

1 answer

Fix cursor position correct with contenteditable div

I've tried to make a simple editor box and want to add the checkbox input onto it. But when I add the checkbox, I found that the cursor didn't go right: the caret is before the checkbox I added, and …

0 answers

How do I hide a view in asp.net mvc5

I am making an application and have my views loading in as partial views. What's happening is when I hit continue it loads in the next view, but leaves the previous view on the page. I'd like to ...

6 mins ago
0 answers

Coldfusion/Ajax Verify math on form fields before submitting

I have 3 fields that need to be tied together. I need them to be verified before submission. <cfinput type="text" name="cost_per" validate="float" validateat="onsubmit"> <cfinput type="text" …

1 answer

How to set cookie for homepage only and not other pages using jquery.cookie

jQuery(window).scroll(function(){ if(jQuery("a.down-arrow-wrap").hasClass("fade-out-down-arrow")){ jQuery.cookie('hide-down-arrow', true, { path: '/' }); } }); jQuery(function () { …

1 answer

jquery validate not unhighlighting when radio button clicked

I have a form with a radio button group which is inside a fieldset with a data-role=controlgroup. I am using the jQuery Mobile and jQuery Validate plugins to handle presentation form validation. The …

0 answers

How to integrate validation in AngularJS with poshytip

I don't want a mere class style using ng-class. What I want is to show tooltip using some Jquery plugin (poshy tip plugin) in this case. How can I achieve this?

0 answers

apply jscrollpane to jquery-ui autocomplete

I'm trying to add a jscrollPane to the jquery-ui autocomplete results with no luck. The code i'm using is open: function() { $(this).autocomplete("widget") ...

0 answers

adding a pre-populated database in jquery mobile phonegap application

I have an application build as native app in iPhone. The application used a sqlite database which has about 1000s of rows in it. Now I need to create an android app which I want to create using ...

1 answer

jQuery function not working when placed on .js separate file

I have a php file with this jQuery function working properly (basically it identifies every '.limitCharacters' elements, calculates its width and height and makes some stuff on them): ...

9 mins ago
2 answers

Dropdown list selection not working properly in internet explorer

I have various dropdown lists, in a way that if we select first item should not show in second dropdown list for that I have written jquery like $(document).ready(function() { ...

9 mins ago
1 answer

knockout binding not work for second time

I use knockout in MVC c# project. I have shopping cart button on my web page and use below code to load shopping cart as modal dialog. This code works for first time but when I click again on shopping …

1 answer

JQueryUi datepicker stop Reinit on mouseup

I use JQueryUI datepicker, display inline mode. On page load i fill events in my calendar. But when i click on it (on any place ), my events was removed, i think datepicker was reinit. How can i ...

3 answers

Priority field in html form

I need to create a priority field in my HTML form. Currently i am using radio buttons but it does not suffice my needs. The radio button should change background color onclick depending on the level …

3 answers

Use Jssor slider to sort images and display results

I'm using the Jssor library to make an image slider that should allow the images to be sorted (by swiping to the right for yes and to the left for no). I would like: for each image to disappear ...

4 answers

DIV alignment and positioning issue

I'm having a hard time on this DIV alignment and positioning. I have a parent DIV width=980px(yellow) and child DIV's: left width=600px(red) and in right width=280px(green). And in right DIV i want to …

13 mins ago
11 answers

What's the difference between jquery.js and jquery.min.js?

What is the difference between jquery.min.js and jquery.js? Which one has support for all functions?

13 mins ago
2 answers

How to wrap a td with anchor tag on datatables plugin

I have a using jquery-datatable Serverside. Everything is working fine, but I want to add anchor tag on one coloumn for which I am doing like this: $('td:eq(1)', nRow).wrap('<a ...

13 mins ago
1 answer

Multiple flyouts using jQuery

I want to create multiple flyouts in a single HTML page using jQuery. Please have a look at the code below. <div>123 <p style="display:none"> <a href="#">1</a> …

13 mins ago
0 answers

Can't play soundcloud

I am trying to retrieve songs from soundcloud api and use the oembed to play the songs like so: var url = ...

0 answers

Can one jquery fn function inherit from another?

I am a beginner of Jquery and js,Now come to a situation: I extend the $.fn to do some job. $.fn.extend({ dofirstjob:function(seetings){ //do the job code } }) Then , I need a another job ...

14 mins ago
0 answers

struts2 datepicker with time validation

I'm new to Struts2. I'm using Struts2 JQuery datepicker tag. But i'm not able to validate it. In my validation-xml file, i am taking it as date, but it removes the time part. Any solution to it? ...

0 answers

Select the value on the dropdown and filter the autocomplete values from JSON data

I have dropdown and tokeninput autocomplete on the page. I would like to filter the autocomplete values based on the dropdown selection.For your reference plz find my UI look and feel below: Any help …

0 answers

“Type Error: undefined' is not a function” although considering noConflict mode

I'm trying to implement form validation with jQuery on Wordpress I'm puzzled why I get an Type Error: undefined' is not a function (evaluating.. I thought jQuery(document).ready(function($) { would …

25 mins ago
15 30 50 per page
1 2 3