jquery

simple jquery callback works on .net3.5 but nothing fires on .net 2.0?

hi i have the following jquery postback method on the client <%@ Page Language="C#" AutoEventWireup="true" CodeFile="CallServerWithParameters.aspx.cs" Inherits="CallServerWithParameters" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt; <html xmlns="http://...

Problem with mathamatical calculation in JQUERY

Hello friends! I have two text boxes. I enter number in one textbox. I write following JQUERY for that textbox which get executed when the focus out from first text box. The JQUERY code takes the entered value from first text box and multiply it by a decimal number 34.95 and display the answer in second text box. The code is doing the ...

How to get the clicked element in a dynamically built JQuery Treeview?

I have a product database with several product categories. Each category has a number of sub-categories, which has sub-sub-categories, which has... Well, quite some levels deep. The tree is too huge to load at once, so I need to built it dynamically as users select specific product categories. Here's a snapshot of the product tree. Initi...

jQuery validationEngine plugin - custom callback for datepicker input fields

Hi, I'm using this jQuery validationEngine but I'm having a problem validating input fields which are transformed using Jonathan Leighton's datepicker. I need to validate that two dates are the same, so i have a custom callback (validateDOB) to check this. When I run this callback in the firebug console it correctly tests the values agai...

jeditable cancel button callback?

the solution here: http://stackoverflow.com/questions/1128760/jeditable-cancel-callback-from-ajax-callback using onreset() doesnt seem to work... any ideas? ...

Is Google’s CDN for jQuery available in China?

Does anyone know if Google's CDN for jQuery is available in China? http://code.google.com/apis/ajaxlibs/ I might have a project where I'll need to support localization a variety of countries, including mainland China, and want to know if I'll need to find alternatives such as: http://www.asp.net/ajax/CDN/ Which is okay, but my unders...

Filtering data with jquery

Ok i have this problem... I want to take out some text from a string and that text is held between () brackets and the string looks like this var a = validate(password) I want to take out the password ;) thx in forward Vanja ...

Can someone tell me how to make the motion from top to bottom of the scroller of this jquery plugin?http://plugins.jquery.com/project/vTicker

Can someone tell me how to make the motion from top to bottom of the scroller of this jquery plugin?http://plugins.jquery.com/project/vTicker. i want the newest child to display at the top.Simply changing the obj.animate({top: '+=' + height + 'px'} to obj.animate({top: '-=' + height + 'px'} changes the direction but does not disp...

juqery showing the Too much recursion in error console

Hi written tool tip snippet , its throwing Error like TOO MUCH RECURSION ERROR , How to fix this error , Here is the URL please look thanks plz look this ...

jQuery add next to (add after)

HTML is <a>ref</a> I need to get <a>ref</a>text How can i do this? $('a').append('text') only insert text into <a></a>, not after it ...

TinyMCE and pluploader not working together

I want to have an instance of both TinyMCE textarea and pluplupload custom file uploader on on web page. The problem is that in my Firefox 3.6 or Google Chrome they just don't work together. I checked with IE8 here it works fine. I tried both versions of TinyMCE - the standard and jQuery. I tried debugging the initialization of plupload...

Javascript RegEx Question

Hello, Suppose I have this: $('ul.child').slideUp('slow'); What would be the regex to find 'ul.child' and 'slow' (including quotes) in the above expression. ...

why is internet explorer displaying my javascript pagination backwards?

Here's a version of the code I'm using, stripped down to just the parts that aren't working. This is all written to generate some basic pagination with jQuery. In Chrome/Safari/Moz, I generate see spans, 1,2,3,4,...,etc When I look in IE7/8, I see etc,...,4,3,2,1 The string seems to be concatenating backwards!! This seems very strang...

Android v1.5 w/ browser data storage

I'm trying to build an offline web application which can sync online if the network is available. I tryed jQuery jStore but the test page stop at "testing..." whitout result, then I tryed Google Gears which is supposed to be working on the phone but it is not found. if (window.google && google.gears) { google.gears.factory.getPermis...

insert new line after displayeing each key value pair in javascript object

Hi, I have a javascript object which is converted from json to java script object. i want to display its values like after each key value pair, i want to insert new line. but i dont know exactly how to do that. below is my code, please take a look and tell me how i should insert a new line. i tried but its not inserting a new line is dip...

How to set dropdown list by another dropdown list

I have two dropdown list (let's say there ids are ddl1 and ddl2). How can I set dropdown list 1 (ddl1) equals dropdown list 2 (ddl2) in jQuery? Something like: $('#ddl1').val()=$('#ddl2).val() Thanks in advance. ...

jQuery Dialog blocks Firefox hotkeys

I'm currently working with jQuery 1.4.2 and jQuery UI 1.8.2. I'm experiencing some weird behavior after I have closed a modal dialog. When I try to reload the page with Ctrl+F5 nothing happens. Another weird thing is that the context menu of Firefox can only be opened with right clicking twice. The Firebug console is showing me the fo...

jQuery filename manipulation

Hi all, I am trying to do a fancy blur/fade effect (which means i need 2 images) but I only want to load 1 in the HTML (in case js is not active) and add the other filename via jQuery (copying and renaming the file/src) The pure html is along the lines of: <div id="work"> <div> <img src="css/images/abc1.jpg" width="360" height="227...

Why my jquery is not working for a span tag

I am trying to display some message in span. but it is not working. <script type="text/javascript"> $(document).ready(function(){ /****************************First Name validation******************************/ $("#txtFirstName").bind("focusout",function(){ if($(this).val()=="" || $(this).val()==...

jquery split() and indexOf results in "Object doesn't support this property or method"

I have the following code: var selected = $('#hiddenField').val().split(","); ... if (selected.indexOf(id) > 0) { ... set value ... } I'm dynamically creating a CheckBoxList, and trying to remember the state of the checkboxes by putting the selected IDs into the hidden field. I get an error stating that "Object doesn't support thi...