[jQuery] toggle radio sets with a checkbox
Hi; I have been trying to enable/disable 4 group of radio sets by checking and unchecking a checkbox. My function is like below, what's wrong with that, or any suggestions for this? var points=new Array("creativity","composition","aesthetic","technic"); for (j in points ) { var x=document.getElementsByName(points[j]); for (i=0;i<=x.length-1;i++ ) { x[i].disabled = $("#nopoint").checked ? true : false; } } Note: As you see,I am newbie in jQuery, ready for any type for suggestions, thanks...
[jQuery] Using hoever() to highlight TR, but not thead? Works in FF but not IE.
<!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.6000.16414" name=GENERATOR></HEAD> <BODY> <DIV><FONT face=Arial size=2><SPAN class=326042813-06042007>I've got a table which looks like this:</SPAN></FONT></DIV> <DIV><FONT face=Arial size=2><SPAN class=326042813-06042007><table id="myTable"><BR> <thead><BR> <th>Name</th><BR> <th>Position</th><BR> <th>Salary</th><BR> <th>Seniority</th><BR> </thead><BR> <tr
[jQuery] Small Interface website update
Hi guys, Long time no see. http://interface.eyecon.ro/dependencies useful to check dependencies . Starting next week I will have some free time again and me and Paul will continue working on Interface 2. I hope this month we will release it. Take care.
[jQuery] Bizarre IE Troubles
I'm not 100% sure that jQuery is causing this issue, but I can't even figure out what the error is, so I ask you kind people for help. This has been a thorn in my side for a week now. Whenever anyone executes a search on this page, IE gives an error about "Webpage has expired." It works fine in the other browsers I have tested. It might be the Google maps, but I think it's a jquery issue with the search filtering. If anyone can just point me to what might be causing the issue, I can work on fixing
[jQuery] help with resetting a slider (Interface plugin)
I'm working on a page that uses the Slider from interface.eyecon.ro. Works perfectly the first time Slider is initialized. However, re-initializing the slider *without a page load* is problematic. Here's what I'm currently using (it works): // get rid of any existing indicators and reset the slider by nulling slider object vars $('#timeSlider').empty(); $('#timeSlider').get(0).slideCfg = ''; $('#timeSlider').get(0).isSlider = ''; $('#timeSlider').get(0).dragElem = ''; Does anyone
[jQuery] Permission denied to call method XMLHttpRequest.open
The exception 'Permission denied to call method XMLHttpRequest.open' apparently gets thrown if you attempt to load content from JavaScript from another domain. Is this correct? I'm trying to write a simple script to load an RSS feed to display on my web site. What I thought would be a 5 minute task using $.get() to get the XML is turning into a major CF. I know that this is not a JQuery specific issue. Is this exception new with FF2 and IE7? More important... is there a way around it that is transparent
[jQuery] Getting all labels
I want to get all labels in a form, and then access their "for" attribute to link it to the field. I thought that $("label") would give me an array of all label elements that I could loop through and get the "for" value. But this does not work and I know I am missing something fundamental to Jquery. If I do: $("label").attr("for"); It gives me the first label in the fieldset, which is confusing.
[jQuery] checking for multiple selects with the same value
I'd like to extend this simple function but don't know what to do next: $('select').change(function(){ $('.formTip').show(); }); What I really want this to do, is: On the change event, check to see if any value of any <select> element on the page matches the value of any other <select> on the page -- if so, show .formTip. If they've made a change so that two values no longer match, hide it again. I'm still wrapping my brain around all the ways jQuery can select and extend the selection; can't
[jQuery] I'm going nutz...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD><TITLE>Message</TITLE> <META http-equiv=Content-Type content="text/html; charset=us-ascii"> <META content="MSHTML 6.00.2900.3059" name=GENERATOR></HEAD> <BODY> <DIV><FONT face=Arial size=2><SPAN class=951495018-06042007></SPAN></FONT> </DIV> <DIV><FONT face=Arial size=2><SPAN class=951495018-06042007><div id="mytest">Test</div></SPAN></FONT></DIV> <DIV><FONT face=Arial size=2><SPAN class=951495018-06042007></SPAN></FONT> </DIV>
[jQuery] jquery form plugin
<!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="Arial">Hi, Just been using the ajax form plugin - its pretty kewl. However, im trying to perform some validation and to access a field the api says to use: </font></font> <pre><font face="Arial"><code class="mix"><span class="keywords">var</span><span class="aname"> value</span> = <span
[jQuery] dragging from an iframe?
Hi, How would I go about dragging a DIV from an iframe on my page to the main page itself? If anyone has any examples of how this is done, I am most grateful. Thanks, - Dave
[jQuery] jQuery post with blockUI-plugin, no refresh...
using jQuery with blockUI-plugin to buzz-login for extra functions in my little backstage-server-file-browser. since i am totally lost in javascript, jQuery gives me more understanding in the syntax (don't ask me why). the problem is that i just want to $_POST some vars, if true: include(login.php) and voila, logged in with the extra functions not visible for my mother (delete files and so on). the jQuery loads it perfectly into the alert(), but my page isn't refreshed. it works just fine if i don't
[jQuery] is child of...
Hi, short version: how do I find out whether my element is a child of another element? long version: I think I want to loop through all elements and check each of them if it is the element I am searching for or not. I think I want something similar to YUI (http://www.un-instraw.org/ wiki/training/skins/ycal/yui/docs/treeview/overview-summary- Node.js.html) isChildOf function. Any ideas would be appreciated. Thanks
[jQuery] Stop pending AJAX processes?
<!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.6000.16414" name=GENERATOR></HEAD> <BODY> <DIV><SPAN class=965094713-06042007><FONT face=Arial size=2>First a small walk-through of what I've got now:</FONT></SPAN></DIV> <DIV><SPAN class=965094713-06042007><FONT face=Arial size=2><A href="http://www.commadelimited.com/uploads/psychic">http://www.commadelimited.com/uploads/psychic</A></FONT></SPAN></DIV>
[jQuery] UNfocus() ?
I am trying to emulate the :focus selector for IE, and I have succeeded in the initial aspect of that with the following: $inputs.each(function(){ $(this).focus(function(){ $(this).addClass('focus'); }); }); However, once the focus leaves the field, the class remains applied. Surely I don't have to manually iterate $inputs and remove .focus if it's applied, and then add it to the current input, do I? Thanks in advance for any help.
[jQuery] xpath question
Hello all, Trying to figure out this xpath thing. I have an xml file at <a href="http://dnatech.informationexperts.com/common/xml/002.xml" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://dnatech.informationexperts.com/common/xml/002.xml </a>. I am pulling it in via $.ajax with a dataType of xml. I go to call the first module's attr 'name' with $('/modules/module[1]', docXML[0]).attr('name'); and I get undefined, but if I do $('/modules/module', docXML[0]).attr('name');
[jQuery] Changing hidden form value based on select
Hello all :) I have a form that I'm building in Drupal, that takes user input and crafts a support request email. I'm using a drop down box to list types of software that a client would need support with. I'd like to pull the result of the select and put it into a hidden text field so I can tailor the subject line of the email so that all emails to our support center don't all look the same. I'm semi stuck with doing it like this for now because it needs to be finished in a hurry, and I don't have
[jQuery] New Field Plug-in...
Last night I threw together a quick plug-in that can be used to get/set the value of any form field. This works with checkbox, radio and select elements--which the val() method doesn't handle. I basically just took the core from an old JSAPI I wrote (qForms) and grab the core getter and setters. Anyway, I've got preview of the plug-in up at: http://www.pengoworks.com/workshop/jquery/field.plugin.htm My intention is too add some of the functionality that people like about qForms into this plug-in
[jQuery] google group question
is there any way to receive email updates using a different email address than my gmail account? thanks!
[jQuery] Quick question about the ".each()" function
Hi, I'm trying to get the text from an array of <td> elements and return it as an array. I've used the following code, which seems to work fine: var theData = $('.wordbreakfield'); $.map(theData, function(i){ return i.childNodes[0].nodeValue; }); My question is, why can't I just do the following? $('.wordbreakfield').each(function(){ $(this).text(); }); Why doesn't that also return the text for each element in the array?
[jQuery] jQpie php to ruby/python conversion wanted.
Looking for someone to do and help maintain equivalent ruby and python versions of jQpie. I am going to take each submitted conversion and post it on the jQpie website for review, the code that is chosen will get $50 US right away for helping out and might be bribed in the future ;) I will also donate $50 to jQuery for each chosen version.
[jQuery] THICKBOX doesnt work when on line...why?
i have a problem implementing jquery and thickbox in my site, and i can't understand the reason, because, the off-line site is perfectly working with all the libraries and visualize the thickbox, but when i upload it on my linux serve, it does not display the thick box but the plain html releated page. ANyone can help please? -- View this message in context: http://www.nabble.com/THICKBOX-doesnt-work-when-on-line...why--tf3532742s15494.html#a9859836 Sent from the JQuery mailing list archive at Nabble.com.
[jQuery] EXTjs.com
<div><a href="http://extjs.com">http://extjs.com</a></div> <div> </div> <div>Just launched. fyi.</div>
[jQuery] response handler scope
is it possible to specify the object scope of the method that handles an ajax response? the method defaults to executing in the global scope, i.e. the window. i'd be grateful for any suggestions on how to change this. thanks. j.
[jQuery] Error with response after form submit
I am new to jquery and am trying to get the form plugin to work correctly. The success callback is not getting called, and I am getting the following error: jQuery(options.target).attr("innerHTML", data).evalScripts is not a function I am at a complete loss (I must say that jquery is far harder to debug than prototype). My target gets populated with the responseText, so I know I am returning something. The error is at: // perform a load on the target only if dataType is not provided 213 if (!options.dataType
[jQuery] Coldfusion: using $.get() to directly call a CFC living outside of the webroot
<!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.6000.16414" name=GENERATOR></HEAD> <BODY> <DIV><SPAN class=035581118-05042007><FONT face=Arial size=2>Right now m JS looks like this:</FONT></SPAN></DIV> <DIV><SPAN class=035581118-05042007><FONT face=Arial size=2></FONT></SPAN> </DIV> <DIV><SPAN class=035581118-05042007><FONT face=Arial size=2>$.get("psychic.cfm", {method:idArr[0],key:idArr[1]},
[jQuery] toggling checkboxes in an adjacent table cell
I'm pretty new to jQuery and have hit the wall on this one... I have a tabular form where data points can be selected for update or to be ignored, sample here: http://www.lifford.org/exp/jQuery-checkboxes.html It was extremely easy to set up the select all / deselect all toggle at the top on a link to check/uncheck every box in every row. The next requirement, though, is what's tripping me up: I need the single checkbox in the last cell of each row to check or uncheck all the checkboxes in the adjacent
[jQuery] Encoding forgin languages Jquery+Validation plugin - help!
hey all, i need a bit help. i got this form (its in development) : http://www.amir.cx/test5.php , the problem is that once i hit submit and paste a non english letter its makes a problem and dont accept it, or think that is long letter , try to write there "שלוםלכם" and see whats happend, anyone can help me to make it accept utf-8 i also uses php to proccess the request with json, but i think the problem happens earlier... ? -- View this message in context: http://www.nabble.com/Encoding-forgin-languages-Jquery%2BValidation-plugin---help%21-tf3530311s15494.html#a9852048
[jQuery] jQuery Powered Sites - Keep the Links Coming
Hey all, I just wanted to let you know that I've been compiling the list of sites and definitely noting all of the ones submitted. Thank you for providing the info. Please keep sending links as we want to have a nice list of jQuery-powered sites for the jQuery web site. Thanks, Rey... _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Moving to Google Groups (Finally)
Hey Everyone - Google has finally imported all of the users into the new jQuery Google Group. From now on, all messages should be going to the group directly instead of the old mailing list (discuss@jquery.com). Important information: - The new jQuery mailing list is located here: http://groups.google.com/group/jquery-en - The email address to contact the list is: jquery-en@googlegroups.com Everyone's email addresses should be imported with the correct settings. If this is not the case, please let
[jQuery] Jquery/thick box doesnt work when on line...why?
i have a problem implementing jquery and thickbox in my site, and i can't understand the reason, because, <i>the off-line site is perfectly working with all the libraries and visualize the thickbox, but when i upload it on my linux serve, it does not display the thick box but the plain html releated page</i>. Anyone can help please? PS: please forgive my bad english i am italian...
[jQuery] $(document).ready() in ajax content.
Hi everyone, I'm doing something like this: $("#myDiv").load("/foo/bar.php"); Now I understand .load() evaluates script tags - are these evaluated after the content has been added to the dom? I did have $ (document).ready() calls in my attached script, but it occurred to me that there is probably no concept of a document being "ready" when dealing with an ajax call. Is this correct? Cheers, Chris
[jQuery] XMLResponse, Form Plugin and IE
I'm hoping someone may be able to shed some light...I'm having a problem with what appears to be IE hanging when processing an XMLresponse. Below is a sample of what is going on... $(form).ajaxSubmit({ dataType: "xml", success: processXml }); function processXml(responseXML) { var response = $("myXMLNode",responseXML); // IE hangs, FF ok } I've made sure the headers returned are XML and everything works fine in FireFox. I'm wondering if anyone has come across this? Sincerely, thanks for your time...
[jQuery] low hanging newbie fruit for you to snack on
I've rewritten my site scripts with jquery and eliminated a bulky menu script, 2 different image viewers, ajax/rpc script I did years ago, and a bunch of other bits, now all packed down into about 26kb total including jquery and with more functionality :-) Some random newbie questions you hopefully can help with: Is there a way to specify multiple conditions in one $ call or I must do $("img.class").add("a.class"). Anything like $("img.class| a.class")? How much overhead is there in a $ object call
[jQuery] jquery and firefox extension
Hello, What do you think? Can I use jquery functionality in a firefox extension? And if answer is yes, how? -- Ámon Tamás http://linkfelho.amon.hu
[jQuery] firebug vulnerability
FYI there is a vulnerability in firebug that is reported to be patched in the new 1.03 release more information and the new release available via: tools> add-ons > check for updates <a href="http://www.getfirebug.com/blog/2007/04/04/security-update/">http://www.getfirebug.com/blog/2007/04/04/security-update/</a> <a href="http://www.gnucitizen.org/projects/firebug-goes-evil">http://www.gnucitizen.org/projects/firebug-goes-evil</a>
[jQuery] fuax column script and em change
Hi, I attempted to use the faux column script submitted last year (mo more faux columns). An issue arises when the user resizes text on a page, the columns stay the same size and the text overflows. Dows anyone have a solution for this problem?
[jQuery] fuax column script and em change
Hi, I attempted to use the faux column script submitted last year (mo more faux columns). An issue arises when the user resizes text on a page, the columns stay the same size and the text overflows. Dows anyone have a solution for this problem?
[jQuery] fuax column script and em change
Hi, I attempted to use the faux column script submitted last year (mo more faux columns). An issue arises when the user resizes text on a page, the columns stay the same size and the text overflows. Dows anyone have a solution for this problem?
[jQuery] Truncate Plugin v.2.0
Well, I have vastly improved this script. It was my first plugin for jQuery, and after creating a few others, I decided to go back and make some edits on this one. You can find the demo here: http://reindel.com/blog/src/jquery_truncate/ Feedback is always welcome. Brian
Next Page