jquery

creating IF ELSE statements

I am looking to create an IF ELSE statement that says IF You reach the end of the UL LI, unbind click function from scroll button, ELSE bind click funtion $(document).ready(function () { $('#down').click(function () { $(".project_thumbs").stop().animate({ "top": "-=510px" }); }); $('#up').click(...

iPhone Apps Using HTML5,CSS3 and jQuery

Is there any good tutorial from where, I could find, How to develop a iPhone apps using HTML5,jQuery,and CSS3. ...

How to use javascript in .ascx pages

How to use javascript in .ascx pages ...

jQuery UI Autocomplete behaviour. How to search free text on enter?

Hi, first question (and hopefully, but doubtfully my only one) I'm using the jQuery UI Autocomplete. Here is sample code to replicate my issue. var suggestions = ["C", "Clojure", "JavaScript", "Perl", "PHP"]; $("#autocomplete").autocomplete({ source: suggestions }); When a user types 'J' they will be presented with 'Clojure' and...

I want to validate that user can only select only one checkbox in each row in listview.

I have listview with two checkboxes in itemtemplate. I want to validate that user can only select only one checkbox in each row. ...

Fade In Fade Out Problem with a Image Gallery

I am using a image gallery in WordPress, images are fetching from database and displaying it into front end. In my case a big image container, and three image thumbnail, I want, when when i click on the thumbnail of the image the previous image which in container goes fade out and clicked image set in to image container. My Html Mark...

how to disable/enable a button by jquery

how to disable/enable a specific button by jquery ( by name )? The button does not have ID , just this code: <button onclick="$('ChangeAction').value='SaveAndDoOrder';" value="Bye" name="SaveAndDoOrder" type="submit"> <i class="Icon ContinueIconTiny"></i> <span class="SelectedItem">Bye</span> </button> ...

Only allow Datepicker Button Jquery UI

Hi All, Is it possible to disable the input textbox at which I attached my datepicker and only allow input by clicking the button/icon panel of the Jquery UI datepicker. $(function(){ var opt = { buttonImage: "images/cal.png", buttonImageOnly: true }; $("#date").datepicker(opt); }); What I mean is, the ico...

Parse currency from table with jquery

How to safely parse the currency from table and compare if sum is higher than 19,90 ? <tr class="Row1"> <td colspan="2" class="Column1 GrandTotal">Sum</td> <td class="Money"><b>23,15 €</b></td> </tr> ...

How to hide a div with jquery

How to hide this div with jquery html: <div class="BottomSmMargin MiniCheckDiv"> ...

Repeating control in jQuery

I have a control with 2 textboxes and a select box in one row. The user can add or remove any set of these rows. I need to do this in jQuery. Does anyone have any good links for this sort of feature/plugin in jQuery ...

Data from UI to Controller in ASP.NET MVC

Hi, Could you you tell me the best way to get data from UI to send them to the controller. What do you think a bout the code below ? Is there an another solution without all this javascript/jquery/ajax code ? Thanks, function CustomerAddSave() { $('#btSave').bind('click', function (event) { $.ajax({ type: "POST...

Reload single jqGrid row?

How can you reload a SINGLE jqGrid row? We know how to reload the entire grid - but we just want to update a single row when we know that the data in the row has changed. ...

Show Y axis on right side of chart with jqPlot

I am using below code to show Y axis of jqPlot at right side but its only showing me at left side: $.jqplot.config.enablePlugins = true; var test2 = readXML(posi); plot2 = $.jqplot('chart2', [test2], { series: [{ renderer: $.jqplot.OHLCRenderer, rendererOptions: { candleStick: true, wickColor: '282828', ...

how to replace both the content of DIV and class name

I want to locate a div and replace both the content and div class name with another, how to do that <div class="replaceme1"> replace me 2, too ...

jQuery UI dialog picking title from cache.

Here is the code I'm using http://jsbin.com/evike5/edit When the jQuery UI dialog is fired second time. The updated title is not shown. Am I doing something wrong? ...

javascript error

var a=asdf; var b=asdfs; //var a = new String("asdf"); if (a.equals(b)) { $("#package").show(); } else { $("#package").hide(); } }); ...

Can't make jQuery picnet.table.filter work

Hello. I'm trying to add picnet.table.filter feature into my ASP.net MVC project, but I can't make it work. Could you please help me to solve the problem? The source code of the generated page is: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt; <html xmlns="ht...

How to reset form through javascript?

I have tried $("#client.frm").reset(); but it is not working.So how to reset form via jquery? ...

When adding events to FullCalendar they are duplicated - multiple calls made to add event without cause

I am using FullCallendar and Jquery. I made a google calendar like interface and pull events from a json file. When a user clicks on a day a div opens for them to enter info click add event and the event is added. On the second click when the user clicks add event two events are added, one on the first clicked day and the second on the s...