[jQuery] Treeview borks on large lists?
I just got a report from a contact of mine that their site map which is using the Treeview plugin (http://www.airdrie.ca/site_map/index.cfm) is causing IE7 to periodically crash. FF handles the tree just fine. Their comment is that it's the larger lists that are causing grief. Anyone else see this? Any suggestions on how we can resolve this? (i.e. is it bad code on our end??) Thanks for any tips. Shawn
[jQuery] Problems with jQuery & Firefox
The jQuery's Ajax Requests (and some other) API won't work with Firefox (2.0.0.7) has someone noticed the same problem? Is it an incompatibility, a bug or what?
[jQuery] problem parsing xml response (responseXML object)
Hi, I am trying to extract the data from xml returned from Ajax call. I have tried more than one way to access the <xml1> node from the xml, but couldn't get it. Can you please suggest? <code> XML response <?xml version="1.0" encoding="ISO-8859-1" ?> - <root> <xml1> am desperate; find me </xml1> </root> Ajax call jQuery.ajax ({ url:"http://localhost/website/ajax/ ajserver.aspx" , type:"POST", cache:false, data:"CatType="+cat, dataType:"xml", complete:function(xml) { alert(
[jQuery] More Superfish Questions
Hello again, We've decided we wish to do a collapsible menu (on click) with Superfish instead of the general drop down onmouseover. Is this possible with Superfish or should I look into getting another plugin? If it is possible, how would I go about doing it? Thanks, Ryura
[jQuery] problems extracting xml from ResponseXml object
Hi, I am trying to extract the data from xml returned from Ajax call. I have tried more than one way to access the <xml1> node from the xml, but couldn't get it. Can you please suggest? <code> XML response <?xml version="1.0" encoding="ISO-8859-1" ?> - <root> <xml1> am desperate; find me </xml1> </root> Ajax call jQuery.ajax ({ url:"http://localhost/website/ajax/ ajserver.aspx" , type:"POST", cache:false, data:"CatType="+cat, dataType:"xml", complete:function(xml) { alert(
[jQuery] Help with jquery ajax
Hey guys I'm new to jquery here! I'm using this code to load an html page into a div: <code> function getPage(thePage){ $("#pageLoader").ajaxStart(function(){ $("#pageLoader").append('<div id = "loader"></div>'); }); $.ajax({ url: thePage, cache: false, html: true, global: true, success: function(html){ $("#loader").remove; $("#pageLoader").html(html); } }); </code> Now this works ok, but the page loaded into the div has links in it. I add my getPage function to the links inside the page that gets
[jQuery] collection
implement the collections function (List Map Set ...) They are very usefull
[jQuery] automatic way to get click function to work
Hi At the Moment I build the click functions with php, because its easy. But I would like to know if anybody has an idea for building it automatically with javascript. $("#historytext0link").click(function(){ tinyMCE.execCommand( "mceSetContent",false, $ ("#historytext0").html() ); return false; }); $("#historytext1link").click(function(){ tinyMCE.execCommand( "mceSetContent",false, $ ("#historytext1").html() ); return false; });
[jQuery] Setting radio button values
I have a page that retreives values from a database using an ajax call. Then I take those values and try to populate a web form. The problem I'm having is with radio buttons. I try setting them using the following line: $("#Gender").val(jsonData.feedback.Gender); where gender is 2 radio buttons with id="Gender" one has the value male and the other female. This however does not appropriately display the radio button checked. If you subsequently query the radio button value (like with an alert), it
[jQuery] IE6 - "Operation Aborted" - Any Ideas?
Hi, A strange thing is happening on a project that I am working on. The page has some JQuery code like a slide down form, an accordion (which I have coded by hand) and some other stuff. Once every few times the page is loaded in IE6, it just fails. It says "Operation Aborted" and fails. Could anyone point me to why this is happening. And this did not happen at all while the site was on my local machine, it started when I put it up on a test server for client review. Here is a link : <a href="http://www.codesutra.net/visionasia/">http://www.codesutra.net/visionasia/</a>
[jQuery] Problems with Firefox
Several JQuery APIs won't work with Firefox (2.0.0.7). Has someone noticed the same problem? Is it a bug, an incompatibility or what?
[jQuery] Calling JavaScript via .load(), Possible?
Im trying to call a page via AJAX with jQuery which is then printing out a bunch of JS for a GoogleMap im using ("#map").load("/ajax/googleMap.php", {referral_id: $ ("#map").attr("title")}); To load the page, but it ignore's the printed out JS. Im i going about this the right way? I'm guessing that becuase the page is already loaded its ignoring the printed JS?
[jQuery] TableSorter - Storing Sorted Columns To Restore After Ajax Call
I have a page whereby everytime it receive focus the tables on it refreshes automatically so the user always has the latest data I want to store the currently selected sort order from tablesorter so that after I re-create the table again I can specify what the users sort order was before the table was recreated Any suggestions on how I do that? I see using FireBug that the sorted columns have sortcol, sortdesc in them but was wondering if there was an existing to get this data rather than coming
[jQuery] OT: Page layout issues
Although I'm using jQ on this project, this particular issue is CSS related, not jQ related. I'm having a fairly minor layout problem, but I've been trying to resolve it forever, and getting no-where. Hopefully some can shed some light on the problem. Here's the URL: http://skidoo.solidgone.com/ Firefox and IE7 both display correctly. Problem(s): 1] Safari & Opera: each tab seem to be shifted up 1px or so. I have no idea why this is shifting. 2] IE6: 2a] the whole tab-holder is shifted down 1px;
[jQuery] force page to load content from another page
I need the page to be forced to load content EACH TIME the page loads. If I do this: $(document).ready(function(){ $('#target').load('create.cfm'); }); The page will grab the stuff from create.cfm and load it into the div as it should. (Note: Create.cfm contains the current timestamp) The problem is that if I use the back button or forward button and come back to the page, when that page is displayed again, the "load" function never fires again and thus I see a cached timestamp that is not valid.
[jQuery] JSON Help?
I think my generated json code is messed up, but for the life of me, I can't see it. In *some* cases, my $.ajax() call process the results properly, in others it triggers the Error callback, but doesn't actually have an error. I've asked about this before and the responses I got then aren't helping right now. Hopefully I'm just blind. I've posted the code in question below, as well as the resulting JSON, and a formatted version of the JSON as well. This JSON code works fine when I plug it into a
[jQuery] Validation plugin errors on IE6
This is just plain infuriating, this piece code works perfectly well on FF 2, on IE6 , it just causes errors: // ERROR error -> "object does´t support this property or method" code 0 // CODE var container = $('#error_container'); $("#login_form").validate({ errorContainer: container, errorLabelContainer: $("ol", container), wrapper: 'li', meta: "validate", event: "keyup" }); // end validate $("#password_lost").validate({ errorContainer: container, errorLabelContainer: $("ol", container),
jCarousel: Anyway to get round the need for unordered lists?
Hi all, Thank God for a jquery forum. Whilst the Google group is great, the layout of forums is (in my opinion) much better and more focused around help. My problem... The manual for jCarousel says that it expects the carousel content to come in the form of an unordered list. Whilst that's not a problem when carouseling images, it is a problem when you want to use it to carousel testimonials as tesmonials should really be contained in blockquotes and you can't put blockquotes in a list item. So,
[jQuery] Thanks to all the jQuery developers out here
1.2 has been a dream come true, fixing a lot of the little animation bugs I found in the past. With it, I was able to convince my boss to create a Word of the Day page (https://www.appelrouthtutoring.com/ wod.php) in HTML/Javascript instead of Flash. It's more accessible now and A LOT easier to maintain. I would never have been able to do it without jQuery. Thanks! Peter
[jQuery] .click function running multiple times
Hi all. This piece of code runs in FF only once as expected, the click gets called once, but it gets called multiple times in IE6, can someone tell me what I am doing wrong? Its the second click below. Not the livequery click Thanks // CODE $('#intended_branch_container .delete').livequery('click', function(event) { if($(this).parent().attr("clone") == "0"){ //alert("not deleteable"); } else{ $(this).parent().remove(); }; }); $("#add_intended_branch").click(function(){ if($('#intended_branch_container
[jQuery] jcarousel vertical safari bug
Hi, Trying to implement jcarousel in a website the horizontal jcarousel works perfect in safari but the arrows on the vertical doesn't work. Tried in safari 2.04 and safari 3. ie and firefox are ok. checked the example on the webpage http://sorgalla.com/projects/jcarousel/examples/static_vertical.html doesn't work either. Can someone help please.
[jQuery] Problem with JQuery form plugin, file uploads, and rails.
So I have a remote form that uploads a file. It works, but I can't get any sort of response from the server even though the upload succeeds. I have to refresh the page. Here's my code: $("form.remote").ajaxForm({ dataType: 'script', beforeSend: function(xhr) { xhr.setRequestHeader("Accept", "text/ javascript");}, success: function(data){ alert('test');} }); Any one have any ideas? The upload succeeds, but the alert doesn't fire. It only fails with a file feild in the form. I know
[jQuery] check json field
hi, this is first I am starting to use json and wondering how I can check whether a field is defined or not I am using form plugin to submit my form though ajax. On the server, depending on result, I set either success or failed field and pass the json data to client..now I want to which field is set and appropriately update the UI. thanks Ritesh
[jQuery] Delete photo on confirm
Maybe I'm going about thewrong way, but this is what I'm trying to achieve: I have a page with thumbnails. Underneath each thumbnail there's a 'delete' link: <a class="delete" href="#" onclick="javascript:delete_photo('.$img-
[jQuery] jQuery and Mootools again...
I am sorry to repost again about this conflict, but I am still having the conflict beetween this two frameworks. I would like to say that I LARGELY prefer jQuery, which makes me able (just a graphic with NO coding skills...) to add utilities and effects to my site in a breeze (thanks, really)! But I have to make sites where other devs use Mootools, so I am still encountering the issue. I update the jQuery package to the latest, since I red that it was solved, but the conflict is still there. Thanks
[jQuery] why is jquery-1.2.1.min.js 45.3KB and not 14KB
Why is the Minified and Gzipped version of 1.2.1 show up as 45.3 and not 14KB. Am I missing something here???
[jQuery] [Announce]: jQuery and John Resig featured on InfoWorld
<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; ">Hey folks,<DIV><BR class="khtml-block-placeholder"></DIV><DIV>Looks like John Resig was interviewed for an article on InfoWorld. Some big news about possible attempt to establish a foundation:</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>"Code library aims to fuel easier JavaScript handling</DIV><DIV>The caretaker of jQuery, which compiles and simplifies tested JavaScript code for
[jQuery] clarfication
I just posted about 1 hour ago and my post didn't show up so here goes again. new to jquery and there's something I'm missing. $('.switch :radio', this).each(function(){ $(this).click( function(){ alert($(this).parent(".switch").get(0).className); }); }); //when the .switch radio button is clicked go up to the parent and alert the className. I always get undefined. Don't dom methods or properties work on jquery objects?
[jQuery] the jquery logo
i have developed a cms that relies heavily on jquery. i am putting a page on my site to give the appropriate credit, and want to add the logo to the page which i will link to the jquery site. you can see this on my testing server at :http://dev.digitalusmedia.net/technology/ jquery-ajax I did not see anything about this on the site and want to make sure its ok to use this graphic.
[jQuery] superfish entire page 'fades' on mouseover (firefox mac os x)
When using firefox on mac os x, as I mouse over and superfish drops down a menu (either down or a side menu), all the text on the page appears to fade for a split second, and then is back to normal. I've even tested it with animations off, etc (completely bare-bones). This doesn't happen in safari or opera, nor with ff for windows. Nor does it happen with suckerfish with ff for mac. Any ideas? Or is anybody experiencing the same effect? Greg PS> Test here: <a href="http://users.tpg.com.au/j_birch/plugins/superfish/">http://users.tpg.com.au/j_birch/plugins/superfish/</a>
[jQuery] thumbnails in jCarousel inquiry
Hi all, My thumbnails in jCarousel are distorting the aspect ratio of my photos. Here's an example: http://www.f1autoimports.com/inventory/single/11 Would anyone be kind enough to tell me how I can re-adjust the default size to make this look more 'proper' per se? Thanks. :-) - sf
[jQuery] [NEWS] Cool sitemap code
So his majesty, Brandon Aaron, demanded that I post this on the list and as Brandon is a intimidating at times, of course I had to follow orders! ;) This cool CSS Sitemap uses jQuery and CSS to produce a very neat looking sitemap. http://betech.virginia.edu/index.php/2007/10/03/css-sitemap/ Rey...
Slide DIV horizontally?
Hi, I really need some help with jQuery. I have something that, In theory seems so simple but is beyond. I need a DIV to slide horizontally across my page to a position defined in a onMouseover event. The full effect I'm trying to achieve is a menu which, when you mouse-over a link, a div will slide horizontally and stop above the hovered link. I've tried all sorts of functions but can't get the desired result. Can I get some help? Thanks, Marc
[jQuery] jQuery and Mootools again...
[Preface: I am tring to post this for the third time, since I didn't see it in the thread. Please, pardon me if the reason is that the post must be moderated. (please, don't smile if so... :P )] - I am sorry to repost again about jQuery and Mootools conflict, but I am still having the conflict beetween this two frameworks. I would like to say that I LARGELY prefer jQuery, which makes me able (just a graphic with NO coding skills...) to add utilities and effects to my site in a breeze (thanks, really)!
[jQuery] Masked Input Plugin 1.1
I just released version 1.1 of my Masked Input Plugin for jQuery. I have more features in the pipeline to add to 1.2, but I wanted to get a few fixes out the door before doing so. The only thing new this time is an unmask method. In addition to code changes, I've made a few more enhancements. I've added a packed version for those who want the smallest possible footprint. I've also given the project page a face lift to make things easier to find. Below is a list of changes this time: * NEW FEATURE:
[jQuery] clarification
I'm just starting with jquery and I guess I'm missing an important piece because my first tries aren't working: $('.switch :radio', this).each(function(){ $(this).click( function(event){ alert($(this).parent(".switch").className); }); }); //when I click the radio, find the .switch parent and alert it's classes. Do regular DOM methods and properties work on jquery objects?
[jQuery] Assistance needed with jQuery star rating script
Hi, I'm trying to implement this star rating script on a site: http://sandbox.wilstuckey.com/jquery-ratings/ I've got everything working like it should (I think), but I've got three concerns. What I've done is removed the "delete" button so now I've simply got 5 stars. 1. The script seems to make all every rating start out at 3.5 stars. What can I do to make the script display no rating (grayed out stars) until a star has been clicked by a user? 2. When I click on a star, it remembers the rating
[jQuery] How to hide a div without a click function
I currently have this $(document).ready(function() { initSlideboxes(); function initSlideboxes() { $('#slidebar').show(); $('#slidebar').html($('#hidebar').html()); $('#slidebartrigger').click(function(){$('#slidebar').toggle(); }); }; }); I would like after a certain duration of several seconds to have the slidebar div hide. I know how to do this in scriptaculous but I have abandoned my scriptaculous solution for jquery.
[jQuery] Downloadable Documentation
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> </head> <body bgcolor="#ffffff" text="#000000"> <font face="Arial">Hi everyone, Is it possible to download the documentation? Clicking all of those links on a (seemingly) slow server is very painful. Thanks </font> </body> </html>
[jQuery] Assistance needed with jQuery star rating script
Hi, I'm trying to implement this star rating script on a site: http://sandbox.wilstuckey.com/jquery-ratings/ I've got everything working like it should (I think), but I've got three concerns. What I've done is removed the "delete" button so now I've simply got 5 stars. 1. The script seems to make all every rating start out at 3.5 stars. What can I do to make the script display no rating (grayed out stars) until a star has been clicked by a user? 2. When I click on a star, it remembers the rating
Next Page