[jQuery] Multiple divs using one ajax function
Hi all, i've managed to write the code to update one div after an ajax success call by using success: function(response){ $("#diva").html(response);} I now have several div's i would like to selectively update depending on the response back from the ajax call. How can i do that? do i have to write if statement for everyone of them ? or would it be possible to store the div's id inside a variable ? but then i dont know how the syntax to select a div whose name is stored inside a variable. if anything
[jQuery] jEditable dont work with IE7
<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40"> <head> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"> <meta name=Generator content="Microsoft Word 11 (filtered medium)"> <style> <!-- /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0cm; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman";} a:link, span.MsoHyperlink {color:blue; text-decoration:underline;}
[jQuery] AJAX-filled div broken after 1.04 -> 1.1 update
<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; ">Hi everyone. After wrestling with this one for awhile I've come to the conclusion that I need your help. For your reference, here are two pages. They differ only in which version of jQuery they use. The first uses 1.1, the second uses 1.04.<DIV><BR class="khtml-block-placeholder"></DIV><DIV><A href="http://furzle.com/user_functions/register">http://furzle.com/user_functions/register</A></DIV><DIV><A
[jQuery] Problem with CSS selectors in 1.1
In 1.0.* releases the following query worked just fine, but in 1.1 it's broken: var jq = $(">.treeNodeItem>.treeNodeTitle",jqNode); The HTML for the jqNode is like this: <li class="treeNode treeNodeType--1" id="cid1169149169969_962-treeNode-0-0" _nodedataindex="0.0"> <div class="treeNodeItem"> ?cmd=showContextMenu <span>[i]</span> ?cmd=toggleNode <span>»</span> ?cmd=clickTitle Title </div> </li> Anyone got a solution to this one? -- View this message in context:
[jQuery] PRESS: jQuery Gets Mentioned at Read/Write Web
jQuery got a great mention over at Read/Write Web. http://www.readwriteweb.com/archives/ajax_pepperoni.php The quote was: "Alex reasoned that it's because "we are seeing the rise of libraries like jQuery that hide Ajax and take it to a whole new level. So the new trend we can perhaps call MetaAjax."" Its great to see jQuery getting mentioned more and more. Great work everyone! Rey... _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Create new div at final position of draggable
What I am trying to do is this. I have an unordered list. I go through the list and make each list item draggable in $(document).ready. Then via the onStop of the draggable I want to create a new div and have the dragged list item snap back to its original position. The new div should be positioned where the drag ended. I got this to work fine when I explicitly assigned a list item to .draggable. The new div is created where the drag ended. This is the code for that. $('#word').Draggable(
[jQuery] Using $.blockUI() to make modal dialog
Hi all, I have been using $.blockUI with my ajax and image load events very successfully. Thanks this is a great tool. I need a modal dialog that ask if the user wants to save data or continue without saving. I created a div with two buttons the and click events on them to save or continue. And this works if I do something like: $(function() { $.blockUI($('#dialog')[0]); alert("Hello!"); }); The dialog opens, the UI is blocked, and clicking on the buttons works as expected, and the alert is shown
[jQuery] Possible new error in dimensions + jCarousel in jQ1.1
I've been using jCarousel in a project for a long time but today, after upgrading from jQuery-1.1b to the final release of jQuery1.1, this problem arouse in a page that I had already tested: Firebug: parent has no properties [Break on this error] x += parent.offsetLeft || 0; I think the parent the message refers to is this (it generates dinamically before calling .jScrollPane() ) $("#list_display").wrap("<div id='list_holder' style='border:#0000FF 1.0px solid;'></div>"); Has anyone had problems with
[jQuery] 1.1 Load
I updated to 1.1 a couple of days ago and now all my load statements ( eg: $("#selector").load(url, {"stuff":"stuff"}, function() {alert("more stuff")}); ) have stopped working. The documentation doesn't seem to indicate any change yet now I'm getting this error message: fn.apply is not a function I'm using the compressed version so I'm not sure which line is throwing the error message . I'll download the uncompressed version and see if I can get something more informative.. In the meantime, here
[jQuery] Toggle and $(document).click()
Hi everyone, I'm in the process of creating contextual help for various settings in a setup system. As you can see below, I use the toggle function to show an inline popup box with a help message. Problem is that I want to make the popup disappear if the user clicks anywhere else in the system as well as on the help/close image. When using the $(document).click (below), it makes the popup disappear and changes the image back to the help icon. However, the toggle function still thinks I've just executed
[jQuery] position clearing ala Shaun Inman
I stand corrected. Benjamin Sterling KenzoMedia.com -----Original Message----- From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com] On Behalf Of Jörn Zaefferer Sent: Thursday, January 18, 2007 3:30 PM To: jQuery Discussion. Subject: Re: [jQuery] position clearing ala Shaun Inman Benjamin Sterling schrieb:
[jQuery] Remote Scripts
Am I missing something or is there no "jQuery way" to load remote javascript? Looks like $.getScript() uses XHR, so it doesn't work. --Erik _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] position clearing ala Shaun Inman
I would assume you can do this quite easily with the dimensions plugin, find the tallest elements and set the position of the footer to match. To answer your question, if done in jquery I believe it would be smaller and faster. -----Original Message----- From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com] On Behalf Of deadguy Sent: Thursday, January 18, 2007 12:35 PM To: discuss@jquery.com Subject: [jQuery] position clearing ala Shaun Inman I've been reading through Transcending
[jQuery] Looking for jQuery based Color picker (not farbtastic)...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=Content-Type content="text/html; charset=us-ascii"> <META content="MSHTML 6.00.5730.11" name=GENERATOR></HEAD> <BODY> <DIV dir=ltr align=left><SPAN class=339420816-18012007><FONT face=Arial size=2>I'm looking for a jQuery based color picker. Something like a small icon which would appear next to a text field which, when clicked, gives some sort of display allowing a user to pick a color. I don't want the
[jQuery] Safari/IE not working at all
Hey all. I have a bit of JQuery magic that works great in Firefox, but not in Safari or IE at all. Here's the code: $(document).ready( function() { $('div.yui-u').Sortable({ accept: 'sortable', helperclass: 'sortHelper', activeclass : 'sortableactive', hoverclass : 'sortablehover', handle: ' h3.list', tolerance: 'pointer', }); $('h3.list').title('Click to expand; drag to reorganize')
[jQuery] PDFs of JQuery docs
Hi, Inspired by a comment on John's "helping you understand jquery" blog post, I've mashed together the JQuery build scripts (written in javascript!) with a free PDF-generating library called iText to produce PDF versions of the JQuery documenation: Just JQuery [116k pdf]: http://corky.net/programming/hacks/jquerydocs/jquery-docs.pdf JQuery and the plugins specified in the build [186k pdf]: http://corky.net/programming/hacks/jquerydocs/jquery-docs-with-plugins.pdf JQuery and all the plugins in the
[jQuery] A little help with a 1.0 to 1.1 conversion
Hi all, Reading up on the new release, I'm interested in the new feature of being able to pass comma-separated lists of selectors to the .not filter. Can this be applied to values? For example, I would like to convert this: $("a[@href^=http]:not([@href*=thissite.net/]):not([@href*=thatsite.com/]):not([@href*=theothersite.com/]):not(.thickbox)").bind("click", function(){ return !window.open(this.href); }); to something like this: $("a[@href^=http]").not("thissite.net/, thatsite.com/, theothersite.com,
[jQuery] Update for jQuery 1.1 compatibility?
I know 0.1.5 was supposed to make jCarousel compatible with jQuery 1.1a, but I just tried it with 1.1 and the prev/next links aren't showing up. Is there another update in the works? Adam -- View this message in context: http://www.nabble.com/Update-for-jQuery-1.1-compatibility--tf3014033.html#a8369956 Sent from the jCarousel mailing list archive at Nabble.com. _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] jQuery 1.1-support for Aptana
Instead of waiting for the new version of Aptana, you can download the latest jQuery 1.1 scriptdoc-file and documentation for Aptana here: http://www.bitstorm.org/edwin/jquery/ Edwin Martin _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] new plugin: DOM pre-order traversal
At ShockSMX's request and with John's help, I've created a plugin which traverses the DOM in natural/onscreen order. It's my first plugin, so let me know if you find any bugs or know what would make it more useful. (For example, would you like me to accept a parameter which skips hidden nodes?) Check it out here: http://bluej.freeshell.org/jquery/domIterate.html I've used my editable code execution fields, so play around with it as you like. Hope it's helpful. -- View this message in context: http://www.nabble.com/new-plugin%3A-DOM-pre-order-traversal-tf2975733.html#a8322059
[jQuery] jQuery/Interface slider
Hi, I'm having a difficult time understanding the 'SliderSetValues' on the following page:- http://interface.eyecon.ro/docs/slider Can anyone explain what the values 20,50 and 200,200 (as per the example) actually mean? $('.slider1').SliderSetValues( [ [20,50], [200,200] ] ) Basically, I want to be able to translate a value to a percentage and move the slider accordingly. Thanks in advance, djl -- View this message in context: http://www.nabble.com/jQuery-Interface-slider-tf3035443.html#a8435088
[jQuery] Please wait.. tutorial
Does anyone know where there is a good tutorial on coding a "Please wait.." sign to appear in the middle of the page whenever ajax commands are being processed? I've tried, but so far haven't had much success. -- View this message in context: http://www.nabble.com/Please-wait..--tutorial-tf2903421.html#a8111968 Sent from the JQuery mailing list archive at Nabble.com. _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] jQuery Plug-in page
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> <title></title> </head> <body bgcolor="#ffffff" text="#000000"> <font size="-1"><font face="Courier New, Courier, monospace">Somethings wrong with the plug-in page. All the text of the plug-in list is squished into a small column on the left. Just thought I'd let folks know. I don't really know how else to report it. Sorry if this isn't the right way.
[jQuery] Plugins page in the wiki
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=Content-Type content="text/html; charset=us-ascii"> <META content="MSHTML 6.00.5730.11" name=GENERATOR></HEAD> <BODY> <DIV><SPAN class=866330416-18012007><FONT face=Arial><FONT size=2>is messed up...</FONT></FONT></SPAN></DIV> <DIV><SPAN class=866330416-18012007><FONT face=Arial size=2></FONT></SPAN> </DIV> <DIV><SPAN class=866330416-18012007><FONT face=Arial size=2>Displaying a single column which is only
[jQuery] Thickbox Suggestion
I have a suggestion for Thickbox (if there is to be another version) in regards to showing images. I stream images to the user via an ASP.NET page. As a result, the URL does not end with one of the common image extensions. So it ends up not being displayed (or showing the ASCII representation of the image) and slowing the page down. As a workaround, I changed the urlType checking to use 'url' instead of 'baseURL': In TB_show, look for the line starting with 'var urlType' and replace with: var urlType
[jQuery] Goggle Group Archive
Hi-- I set up a google-groups archive of this mailing list. The google group is called 'jquery-discuss'. I prefer to use the google groups interface rather then clutter up my inbox. Perhaps others would prefer it too. --Trans P.S. This post is also serving as a test of the new group. I'll let you know if all goes well. _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] can't get accordion to work
hi, I am trying to get this to fire, but no joy ... My code is very similar to the example code: <div class="tx_acc"> <h3>sitetext</h3> to do done </li> <h3>phrases</h3> </div> . . . $(function() { $(".tx_acc").Accordion(); }); but nothing happens. Just a plain set of h3's/paras. If I change to $(function() { $(".tx_acc").hide(); }); this works, so I know we are selecting. The Accordion library is definitely there, I include it after jquery itself, before the code where I initialise. I can get it
[jQuery] Google Group Cross-Post Test (IGNORE)
This is a cross-post test of the JQuery-Discuss google group. Sorry for the noise. Please bare with me. Thanks, Trans _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] FaviconLinkMarker - last call
Hi all, Now I really do not know any more further. It does not want to work. Check out: http://olaf-bosch.de/bugs/jquery/links5.html here are the check of Favicon exist in a function, the check do to late (works), after the JQuery script!!! http://olaf-bosch.de/bugs/jquery/links6.html here are the check in the JQuery script, check set all to false default image was added -- Viele Grüße, Olaf ------------------------------- olaf.bosch@t-online.de http://olaf-bosch.de www.akitafreund.de -------------------------------
[jQuery] 5 Quick JQuery Tips
Hey, I just wrote a short article covering 5 things I've found JQuery useful for. They are just beginners tips: http://pixelcarnage.net/articles/development/5-quick-jquery-tips/ Feel free to hit me over the head if I can improve the code. Thanks, Rowan Lewis. -- View this message in context: http://www.nabble.com/5-Quick-JQuery-Tips-tf3034058.html#a8430375 Sent from the JQuery mailing list archive at Nabble.com. _______________________________________________ jQuery mailing list discuss@jquery.com
[jQuery] Deserialize plugin with jQuery 1.1
I have been using the deserializer plugin to fill forms with JSON. But it doesn't work properly with jQuery 1.1 Here are two test pages: This page <http://www.2minuteexplainer.com/test/deserializeMe.html> uses an older version of jQuery (1.0, I thinki) and deserializes data into its forms as it should. On this page <http://www.2minuteexplainer.com/test/deserializeMe_1_1.html> which is the same except for the version of jQuery it loads, the data is deserialized according to the field names -- but
[jQuery] Interface 1.1
Hi, Paul and I, with help from many jQuery developers, put together a new release of Interface. It has a number of new features, new plugins, speed improvements, nice demos, and improved documentation (there's still a lot to improve there). If you would like to learn more about the 1.1 release of Interface, check out our brand-new "news" section as well as the updated changelog!. http://interface.eyecon.ro _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Possible new error in dimensions + jCarousel in jQ1.1
I've been using <span style="font-weight: bold;">jCarouse</span>l in a project for a long time but today, after upgrading from <span style="font-weight: bold;">jQuery-1.1b</span> to the <span style="font-weight: bold;"> final release of jQuery</span>1.1, this problem arouse in a page that I had already tested: <span class="objectBox objectBox-errorMessage hasTwisty hasBreakSwitch breakForError"><div class="errorTitle"> <span style="font-weight: bold;"> Firebug:</span> <span style="font-family: courier
[jQuery] Verify check boxes checked or not
Hi frieds, I am struggling with small query In a form there are mutiple checkboxes , i have to check on next button click that at least one checkboxes is checked or not thanks _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Speed of 1.0 code with compatibilty script?
Quick question regarding the compatibility script to allow 1.0 code to be used with the 1.1 release of jQuery: Does using the compatibility plugin reduce the speed increases realized with the 1.1 release? I couldn't seem to find out if this was the case or not in my searches of the release information. Thanks, Shane -- --------- Bender: "Amy, you like cute things so I baked you a pony." --------- http://www.reefs.org - Where reefkeeping begins on the internet. http://www.advancedaquarist.com - High
[jQuery] [PLUGIN] Interface.Draggable zIndex ignored
-------------------------------------------------- .Draggable({ zIndex:1000, ghosting:true, opacity:0.5, containment:[_dtP.left,_dtP.top,_dtP.w,_dtP.h], insideParent:true }) --------------------------------------------------- Hi, i have problems with zIndex while draggin an element. Is there anyting i have to watch out for? greetings jac -- View this message in context: http://www.nabble.com/-PLUGIN--Interface.Draggable-zIndex-ignored-tf3031901.html#a8424127 Sent from the JQuery
[jQuery] best practice using jquery.ajax
dear all, i'm using $(elm).load(url, function() {...}) to insert new content, but i found this cost me extra 3-5 times than using standar ajax methods, and then insert responseText to elm using innerHTML. inserting simple content, using standard ajax cost me 0.2s but using jquery cost me 1.1s ... inserting complex content with form/input usually cost me only 1.2s ... but now cost me 6.6s ... is there something i should know to avoid this ? i'm using jquery 1.0.4 ... using jquery 1.1a only reduce
[jQuery] fadeOut text
I'm trying to write my first jquery function using it's rules...it's hard getting started. I want to write a function that is ready at all times for any div's (or perhaps spans's instead) that when they appear they will fade away about ten second later. I'll attach a class to the span called 'notify'...like this... <span class='notify'>Updated</span> These are appearing via an ajax call already, so they don't appear when the page originally loads...only after an ajax call has been executed. The best
[jQuery] Display error if no INPUT radio is checked.
hi i am very new to this group i try to display the text of the first TD if no INPUT radio of the second TD is checked. i try this code , it return all TD 's text. $(document).ready(function(){ var error=""; $("#myForm").submit( function() { $("input[@type='radio']").each(function() { if(!$(this).checked){ error = error+ $(this).parent().parent().find("td").text(); } }); $("#error").html(error); }); }); <....> <tr> <td class='hotel1'>Situation de l hotel </td> <td> insatisfait <INPUT type='radio'
[jQuery] newb question - JQuery fade and replace
Im looking for help on how to write a function. In standard javascript i have 2 elements: oldData, and newData. Currently i just am swapping the two with replaceChild. However i want to add a [fade-out, replace, fade-in] sequence to it with JQuery. I am wondering is it possible to create a function like this in JQuery and simply call it from a standard javascript function: JQueryFadeSwap(oldStuff, newStuff){ newStuff.opacity = 0; oldStuff.fadeOut(); swap(oldStuff, newStuff); newStuff.fadeIn(); }
Next Page