jquery

how to make a row highlight in a large table using jquery

On most of tables, or anything that has lot of data rows, I have seen that when something is edited that row becomes yellow for a while and then after a while goes back to its normal state. I have a data table with about 500 rows. User can click edit on anything, edit that row on a new page, and come back to page with all 500 rows. ...

ASP.NET : Form posting via jQuery

I have an ASP.NET page with 2 ASP.NET text boxes and one ASP.NET drop downlist I want toi use jQuery form posting instead of normal ASP.NET post back.Can anyone guide me how to do this ? How can i access the server side controls in the action page ? I dont want to pass everything via query string. Kindly guide me how to go ahead ? Thanks...

Jquery Show/Hide shifts element to the right before showing or hiding

$(document).ready(function(){ var speed = 700; var pause = 3500; function removeFirst(){ $('ul#newsfeed li:first').hide('slide', {direction: "up"}, speed, function() {addLast(this);}); } function addLast(first){ $(first).insertAfter('ul#newsfeed li:last').show(); $('ul#newsfeed li:first').show("slide", {direction...

Issue with JQuery Sparkline in IE

Hi, I used jQuery sparkline (http://omnipotent.net/jquery.sparkline/) in a page. This gives me problem in IE if the container DIV is not big enough to show it, tried with Firefox/Chrome, it is working fine. See the sample code, <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"&gt; <html> <hea...

Using JQuery in a Subfolder When the MasterPage is in the Root Folder.

I am trying to use the jquery library in ASP.NET in a subfolder called "samples" with a masterpage that is located in the root directory. Presently the references to the jquery scripts are located in the head tag of the master page. If the page I am creating is also in the root directory, everything works fine. If I move the page to the ...

Capture event onclose browser

Hi! How I can capture event, close browser window, in jQuery or javascript ? ...

What is the benefits of using jQuery UI over plugins?

jQuery 1.3.2 minified is 55.9K, and jQuery UI core itself has more than 110K and top of that each component adds more to this core. I am wondering good reasons to use jQuery UI over plugins. For example jQuery accordion plugin has only 3.8K, jQuery Tools which does accordion, tooltips, tabs, scrollable, overlay and expose has only 5.8...

php code in jquery

Hi, In CakePHP, the value passed as a parameter in the url can be obtained by the controller attribute <?php $userid= $this->params['pass'][0];?> I want to use $userid inside the jQuery code. $("#displayPanel #saveForm").live("click", function(){ document.location = 'http://localhost/cake_1_2/forms/homepage...

Part 1: jQuery -> MySQL -> jQuery -> HTML

I'm developing an application which relies heavily on jQuery for user interaction. (and if you're browser doesn't support jQuery, then upgrade or don't use my application :) As normal, one have functions to GET, SET and DELETE data from a table. In my application, I'm GET'ing and SET'ing a lot of information without page reload. To do ...

jquery highlight fading - timeout problem

I have two sets of boxex on a page. 10 boxes belonging to class 'boxOne' and another 10 belonging to class 'boxTwo' There is a button. On click of button I am using jquery effect to highlight and then fade the background color of all the element belonging to class 'Boxone' and 'Boxtwo'. Below is the code. var colorOfBox1 = "'" + $(.box...

Firefox Ajax jquery call error

Hi! I am developing an application but I am having problems to get it to work in Firefox. The application recieves javascript calls from educational applications (websites that are showed in shared window) and it is supposed to return values from a .net webservice. The values must be returned in the same function that recieves the call....

PHP XML IE problem

<?xml version="1.0" ?> <NBR> <resultGroups> <result>Hello</result> </resultGroups> </NBR> i have a n xml created in PHP ike this. i am retruning this XML into javascript and is trying to acces the value of node "result" using alert($(xmlObj).children('result').text()); In firefox its working fine. but in IE it gives o...

How to verify an element exists in the DOM using jQuery?

Typically in JavaScript I do something like the below to verify an element does exist: if (document.getElementById('lblUpdateStatus')) { $("#lblUpdateStatus").text(""); } But, using jQuery - how can I do the same type of thing? ...

What are the best options for a Java/jQuery polling interface?

I am building an application in Java (with a jQuery frontend) that needs to talk to a third party application. it needs to update the interface every two seconds at the most. Would it be a good idea to use comets? If so, how do they fit into the picture? What other means/technologies can I use to make the application better? ...

Constantly Querying Server via Javascript - Good Idea?

I've got a small website that has about 5-10 administrators. I've set it up to monitor what each administrator is doing (adding items, removing items, etc). I had a list within our admin-panel that shows the previous 10 activities performed by the collective administration. Today, I decided to make this self-updating every 30 seconds. M...

jQuery: How to disable tooltip

Is there a way to disable browser tooltip from displaying when hovering over elements that have attribute 'title' populated? Note that I don't want to remove title content. Here is the code are requested: $(document).ready(function() { $('a.clickableSticky').cluetip({ splitTitle: '|', showTitle: false, ...

firefox extension, jquery and accessing the document.

Hey, I can easily traverse the current window while I'm inside the pageLoad function in my extension using content.document, but when I try accessing it in another function, called with setInterval, I can't access the content.document. I tried content.document, document.defaultView, window.content.document and basically every other sen...

JQuery $.ajax and dealing with a resultset.

I have the following $.ajax({ type: "POST", url: "qry_invControl.cfm", data: "p_sales_price=" + input.val() + "&action=getCashPrice", cache: false, success: function(data) { $("#cashPrice_"+num).html(data); } }); I need to modify my qry_invControl.cfm to return other st...

jQuery Datepicker and Timepicker for same input field to popup one after another

I have a Datepicker and a Timepicker in 2 separate input fields but I need to combine the 2 fields inputs into one for a database call. Wanted to know if I could only use 1 input field for both controls? first call the datepicker and the user would click the date wanted and it would enter the value, then the timepicker would popup and a...

JQuery SSN Mask

How do I mask SSN in a Textbox and only show the last 4 digits of SSN when I load up a page using JQuery? ...