jquery

setTimeout with ajax chat

Ok Hi Help help help I am having a major problem with setTimeout it is not working and i did everything not working I am developping a chat system so i need to send and recieve messages (i test it by opening 2 browser windows) Here is the code i changed many times I hope any one can help me javascript $(document).ready(function() ...

Image animation keeps requesting the images

I test the code in IE7, FF, Chrome, Safari and this problem occurs in Firefox only. I have checked that the problem only occurs in FF 3.5.x, but not FF 3.0.x. I want to make an image animation which has 10 images in total. Currently, I use the following code to do it: for (var i=1;i<=10;i++){ img[i] = new Image(); img[i].src ...

Resizing effect on Html Table cell

I neeed jQuery help. He can we dynamically resize a table cell ?.If we resize it, change only affect that particular cell,rest should remain same. ...

jquery popup using div

I have a chat application in jquery,i want to invite people on group chat,for that i need to send an auto pop up message which will ask user to accept or reject group chat invitation.i want to use div pop up. where do i start? ...

Is it right to generate the javascript using C# in ASP.NET MVC view page?

[Sorry for long question but it is necessary to explain the problem] I am working on a learning website and it is supposed to show a list of messages to user if there are any. Something like this: When user presses close button, that message must be marked "read" and should not be shown next time. Following code is used to generate t...

Translate Prototype code to JQuery

Hi, This code is based on prototype and returns all the input elements that are inside span tags that have .myClass as the class attribute so I can iterate each one. What will be the syntax for JQuery? $$('span.myClass input').each(function(element) {alert(element)}); ...

jQuery, don't reload - somehow

I have a small problem with my jQuery script. <script language="javascript"> $(document).ready(function(){ $('.roll-li').click(function(){ if ($('.hideshow').is(":hidden")) { $('.hideshow').slideDown("slow"); } else { ...

submit a form using jquery

I want to submit a form using jquery. Can someone provide code, demo or example link. ...

Difference in JSON objects using Javascript/JQuery

I have two JSON objects in Javascript, identical except for the numerical values. It looks like this: var data = { "eth0":{"Tx":"4136675","Rx":"13232319"}, "eth1":{"Tx":"4","Rx":"0"}, "lo":{"Tx":"471290","Rx":"471290"} } var old = { "eth0":{"Tx":"4136575","Rx":"13232219"}, "eth1":{"Tx":"4","Rx":"0"}, "lo":{"Tx":"471290","Rx...

Help with consuming JSON feed with PHP & json_decode

Hello there! I've having an issue with consuming a particular feed for a client. They have given me a remote URL and the response is a JSON string like so: {"affiliate": [ {"ID":"1", "COUNTRY":"EXAMPLE", "NETWORK":"EXAMPLE", "PRIMARY":"EXAMPLE"}, {"ID":"2", "EXAMPLE":"EXAMPLE", "COUNTRY":"EXAMPLE", "NETWORK":"EXAMPLE", "PRIMARY":"EXAMPL...

Using jQuery, how can I change an input value to equal another by clicking a checkbox?

I'm trying to create a form where the a user can click a checkbox and their physical address properties get populated to their billing address properties. My checkbox looks like this: <label for="UseAccountAddress">Use Account Address</label> <input id="UseAccountAddress" type="checkbox" value="true" name="UseAccountAddress"/> And a ...

Check that the user is entering a time format? eg 13:00

Hi guys, Basically, I'd like to have an input that when blur'd, will check the input to make sure it's in the format... [24hour] : [minutes] So for example 13:00, or 15:30. So I guess I have to split it up into three parts, check the first bit is between 0 and 24, then check it has the semi-colon, then check it has a number between 0...

Problem referencing Quicktime plugin generated and inserted by Jquery

Hi all, I've got a problem where I generated a Quicktime plgin using the AC_Quicktime plugin, and then drop this into a using jquery. In Firefox I can then reference the created plugin using it's objectid, but in IE 6.0 this doesn't seem to work. I've tried using jquery to reference the plugin... but can't seem to do so. Here's the c...

Trying to update a google visualization using jquery

I'm relatively inexperienced, so please bear with me. I'm developing a simple dashboard using the Google visualization API. I'm developing in vb.net. I have the Annotated Timeline, the Intensity Map, and a set of tables on my apsx. What I am trying to do is update the Intensity Map and tables based on the date range the user selects ...

Removing li when no href with jquery from div

hi, I have a div as below: <div id="DivInteractive"> <p><strong>INTERACTIVE ONLINE BROCHURE</strong></p> <ul> <li><a href="" target="_blank"/></li> <li><a href="http://www.espireinfo.com" target="_blank">Internship brochure Interactive 2008</a></li> <li><a href...

Looping array and displaying text

I have the following array var arr = ['abc', 'efg', 'igj', 'feeu', 'fee']; I want to do the following two tasks: Loop through this array and display the text in a div called DIVCont one by one in a continuous manner and a cycle. There should be a gap of two seconds for each word. My second requirement is to be able to click on the d...

changing an element's background using the CSS property

Hello guys, I have a div with a background, and I'd like to change the background's position on click. This is my jQuery snippet : $('#sprite').click(function() { $(this).css('backgroundPosition','-40px'); }); While this is working ok, I'd like to return to the original position with a 'second' click, resetting all. Mmm, is thi...

howto get AJAX selected option displayed in select box

I am populating a select box from jquery $.post(); The option values returned from the post have one option with " selected='selected' " but rather than setting the control to this option the last option in the string is selected and displayed. The last option has it's selected property set to true but firebug shows the selected text a...

jQuery Charting

Can anybody suggest nice cross browser jQuery API plugin for developing Chart application except like filamentgroup.com. The API should be customizible.I want to integrate it in ASP.NET. (ofcourse ASP.NET 3.5 comes with inbuilt Chart control,I want some nice jQuery Plugins). ...

Round the edges of photos using jQuery

Possible Duplicate: multiple I would like to round the corners of photos ( tag not background images) Can jQuery accomplish this? Thanks ...