jquery

jquery ajax response removes the + character

Update: It looks like the problem is when I'm reading the value from the html to begin with. This is the markup: <input name="someval" type="text" value="Receive (+ open)" /> I'm reading the value of someval like this and passing it to the ajax call: $.ajax({ data: 'someval=' + $("input[name=someval]").val(), ...

Retrieving Data From external Domain

I am creating a analytic project. My goal is to give the owner of x-domain a small amount of javascript includes from my site. That gives me the ability trace their mouse movements. I got the tracing down, All I need to do is send the data back to my server so it can be stored in my DB. my problem is the data is too large to send through...

jQuery UI Dialog Titlebar and Background Does Not Display in IE6

Hey All, The subject pretty much sums up the issue. In IE6, we are using jQuery UI dialog to display an overlay with a form for the user to fill out; however, the background does not display (completely transparent) and the title bar does not display. Any ideas on a CSS workaround for this? We have the jQuery UI CSS included in the p...

Changing from Prototype to jQuery

I have the following Prototype code which I want to change to jQuery. Could anyone help me please? It seems to me that except Ajax.Updater all other code can be used in jquery. But I most probably wrong. Thanks in advance. function jsUpdateCart(){ var parameter_string = ''; allNodes = document.getElementsByClassName("process"); ...

jQuery to force all favicon.ico requests to the correct location?

I do not have server side access... I'm trying to present a custom favicon from a hosted wiki service that provides scripting and CSS access, but presents it's own favicon to all it's users. Is it possible to do something like this but with jQuery? If so, how? ...

Escaping + character when read to passed as ajax data (to prevent concatenation)

I'm reading the value of an input text field and passing it to be used as ajax data The field value has a + <input name="someval" type="text" value="Receive (+ open)" /> and looks like when parsed with data, it parses the + as a jquery concatenation. data: 'someval=' + $("input[name=someval]").val(), This is the first time I notic...

Avoiding the 'double event' when LABELS are clicked within an element with a click event.

I have some HTML that looks like this: <ul class="toggleList"> <li><input type="checkbox" name="toggleCbx1" id="toggleCbx1" /><label for="toggleCbx1">Item 1</label></li> </ul> I'm using jquery to attach a click event to the LI that will then modify some classes and check or uncheck the checkbox within. I attach the click event...

Find Text Between 2 Quotes with jQuery

ok, so I have this small block of text: function onfocus(event) { if ($(this).val() == "Some Arbitrary Text") {$(this).val("");} } Using jQuery or JavaScript, I would like to find teh "Arbitrary Text". This text block is constant, with the exception of the "Arbitrary Text". Ideally, I would like a way to parse it without using com...

unable to resize table beyond certain minimum width

Here is a demo page: http://bridgetandmisha.com/resize%5Fsizes.html# Why am i unable to resize one of the tables to be 400px using this code: $("#countProductSummaryDetailTable").width(400) Can someone tell me what html markup is preventing this? Also, i am able to resize another table on the page to 400px (but that is not what i n...

Ctrl+Enter jQuery in TEXTAREA

How do I trigger something when the cursor is within TEXTAREA and Ctrl+Enter is pressed? Using jQuery. Thanks ...

JQuery: How to round an integer up or down to the nearest 10

Hello all, My JS skills are not good enough to do the following task so I am calling on the community! I could learn to do this, but I need to get this task done quickly, so I appreciate any help. I would like to round a number passed by a user to the nearest 10. For example, if 7 is passed I should return 10, if 33 is passed I should ...

jquery: plugin question (dynamic include)

hi all, i'd like to use this plugin for dynamic includes: http://plugins.jquery.com/project/jquery-plugins i managed to include one file + getting a done-callback. my question: is it possible to include several files at once (eg. 10 .js + 10 .css files) and getting a global done-callback? thx, fuxi ...

jquery kwicks and css.

I'm having a bit of trouble with kwicks: http://ftp.crashboxcreative.com/ftp/EastsideBaptist/EBC-Final/ (I've changed the jQuery to show the drop-down with issue.) kwick_3 is the one with issue. There's a gap b/t kwick 2 and 3. Thanks! ...

How to pass JSON array correctly?

i am trying to create a fade effect with the following...ive been told im nearly there apart from the passing of the json array. At the moment no images are displayed. //generate all the boxes $.get('images.php',function(data){ for (var i=0; i < totalBoxes; i++){ var randomImage = data[Math.floor(Math.random() * data.length)];...

jQuery cycle plugin - Stopping

I have my page setup to start an automatic scroll of images (with the cycle plugin) when you hover over it's category link. That works fine. What I want now is to have the automatic cycling stop when you hover off the link and then to start the manual 'next/prev' slideshow. Basically, when you hover over the category link, cycle through...

jQuery append row to table and slideDown effect is corrupting the table row

I'm trying to use jQuery to append a row to a table and to apply the slideDown effect on just that row as it loads in (for context, the results are being retrieved via Ajax and are added when received). When I add the row without effect the table forms correctly. When I use fadeIn as an effect, the table still forms correctly. However...

How does modify jQuery find function to be used in the specified script?

I have many problems when I create some web application that can dynamically load content. Because of script in loaded contain does not know where to be placed in document and how many duplicated object will be loaded in one document. Therefore, I want to create some function for modified find function of jQuery object that will be used...

How do I remove the first character from a link's text with jQuery?

I want to remove first character from link's text with jQuery. <span class="test1"> +123.23 </span> <span class="test2"> -13.23 </span> I want to remove the "+" and "-" from with jQuery. Output: <span class="test1"> 123.23 </span> <span class="test2"> 13.23 </span> ...

jquery appendTo() not working in IE 7,8

I am using jquery to do paginations. My code is wroking fine in FF but in IE it says the error on linee 255 in jquery.js and its is on the append function what should i do var $pager = $j('<br><span class="pager"></span>'); $j('<span class="page-number" >' + (page + 1) + '</span>') .appendTo($pager).addClass('clickable').addClass('ove...

Is there any tutorial where i can learn big jquery projects or plugins

I want to learn jquery . i tried various books but they only tell you about the basic functions and how to use them I want something like where a full fledge project of grid or table sorting etc is build in jquery and then the writer tells how he build the complete application using jquery rather than small simple selectors. E.g i tri...