[jQuery] Is jquery safe ?
Hi, I am using the latest version of jquery. I want to confirm that is there any type virus or trozan with the latest version of jquery. I have searched it on google a lot, but not able to find any exact answer. Please confirm me. Thanks Devesh M
Datepicker Calender, how to add links?
Hey guys, I'm working on a calendar and its going fine but I want to add some links in the dates. But the problem is that all the date's are in tables <td> etc and dont have a specific class. So I dont know how to give a specific date a class or a link and I hoped you guys could help me! You can see the module here, http://www.no-illusions.nl/datepicker/ So the problem is that I cant show a date to have something special on, if anyone has a good idear on how to light a specfic date up or give it
[jQuery] Flash content over BlockUI on Firefox in Windows
I have spent the better part of two days trying many different things to work around this problem with no luck. I am launching a blockUI pop-up and it works great in every browser except FF on windows. If you scroll down when the window has been activated it will show up after it gets pass the flash piece. I have tried to set the wmode parameters to opaque and transparent with no luck. I have tried several css related tricks to and still nothing. Anyone have any idea?
[jQuery] [autocomplete] multiple option duplicates
Hi This is probably something very simple that ive overlooked and cant find the answer to but here it goes anyway: On the Multiple Birds (remote): demo you can add multiple items, however you can also add the same item twice. Is there a way to post back to the db script the items that have already been selected so that they no longer appear in the autocomplete box. Hope that makes sense Regards leo
jquery.wrap + diggthis.js = not working
Hi, Been searching all day and cant find a solution! when I use the wrap function in jquery to wrap a div around a diggthis.js call the diggthis.js freezes up the page in FF and gets canceled in safari... here is the jquery code: $(document).ready(function(){ $("div.rounded").wrap('<div></div>'); }); Here is the markup: <div class="rounded"> <script type="text/javascript"> digg_url = "myURL.com"; </script> <script src="http://digg.com/tools/diggthis.js" type="text/javascript"></script>
[jQuery] Select all last cells of all rows?
I swear I've seen a post asking this before, one that I even participated in, but damned if i can find it given this table structure <table> <thead> <tr> <th>One</th> <th>Two</th> <th>Three</th> </tr> </thead> <tbody> <tr> <td>R1C1 Data</td> <td>R1C2 Data</td> <td>R1C3 Data</td> *** </tr> <tr> <td>R2C1 Data</td> <td>R2C2 Data</td> <td>R2C3 Data</td> *** </tr> <tr> <td>R3C1 Data</td> <td>R3C2 Data</td> <td>R3C3 Data</td> *** </tr> </tbody> </table> How can i select all the last cells that I denoted
[jQuery] JCarousel Dynamic source - Overwrite problem
Hi, I need a bit of help. I am using JCarousel. I need 1 Carousel on my page, but I want to be able to change the source of the data going to the carousel based on what the user selects. For example - set of images and text that is for Paris, one for Rome and one for Hong Kong... the user selects which set to see and the proper set loads in the carousel. I have the carousel working. I have the different set of images in different arrays. I have the links set.. .but what happens is.... the new data
[jQuery] IE display issue
i am setting reducing a tbody height when the user clicks a row and then showing content below the table. in IE7 when i show() or set display to block for the content below the table, IE resets the tbody height to the original size such that it overlaps my content. i've put the code in to reset the height again, but it doesn't do anything at that point. any ideas?
[jQuery] Problem with .click even fired as many times the page refreshes
I have the followin code in my html <script type="text/javascript"> jQuery(function() { jQuery('#slickbox').hide('fast'); jQuery('#slick-toggle').click(function() { jQuery('#slickbox').toggle('blind',350); return false; }); }); </script> The problem is that when the page is refreshed due to an AJAX postback the function is called again. This is allright. But the main problem is that when I click the slick-toggle link, it is fired as many times the page has been refreshed due
[jQuery] Jquery simple problem
Hi, This is my simple jquery code. I have included it in the head of html document. <script type="text/javascript"> jQuery(function() { jQuery('#slickbox').hide('fast'); jQuery('#slick-toggle').click(function() { jQuery('#slickbox').toggle('blind',350); return false; }); }); </script> the problem is that every time AJAX postback occures, and when i click the slickbox button, it is fired as many times the AJAX postback occures. i.e. If 3 postbacks, the slickbox.click function
[jQuery] Newbie--can't get cycle plugin to work with anchor
Hi! I'm really new to web building in general, so I'm guessing that this is a really newbie question, but I can't get the cycle plugin to work with anchor. I followed the example given from http://www.malsup.com/jquery/cycle/anchor.html , but the anchors just won't work--the images stop cycling right after I put the code in, actually. I've googled everywhere to try to solve my problem, and I searched through this discussion site, too, but nothing helped me. So, I decided to join this group and post
[jQuery] Something like this
Hey Folk, I saw thes two nice sites and want to try out, how this will work. http://www.imagesource.com/ http://www.realities-united.de/ What do I mean? I mean the full filled backgroundimage, that resize after scale the browser. Does somebody know a tutorial or an other approach. Thakxx for your help Best regards JAN * -- Neu: GMX FreeDSL Komplettanschluss mit DSL 6.000 Flatrate + Telefonanschluss für nur 17,95 Euro/mtl.!* http://dslspecial.gmx.de/freedsl-surfflat/?ac=OM.AD.PD003K11308T4569a
[jQuery] why i getting Error: form.ajaxSubmit is not a function
<div dir="ltr">I try to use Form plug in with Validaiton plug in i get the following error if firefox Error: form.ajaxSubmit is not a function can someone help me please </div>
[jQuery] first child
Hello all, Let's say I'd have a div#content and I'd like to figure out what the first child of this div is. It could be an anchor, a paragraph, a heading who knows... I know the :first-child selector but this doesn't do what I want to accomplish as it just filters within the matched selector for the first child. Ultimately I'd like to figure out what element this first-child is. I can do this with .is() right? var $el = xx.is('h2'); //if it indeed matches a h2, returns true? Anyone willing to help
[SOLVED] Using jQuery and Smarty
I don't understand what's wrong with this. I'm wanting to use jQuery and just beginning to learn it. I started out with a very standard jQuery action that disables a link but Smarty keeps giving a fatal error about $() being a unrecognized tag. I know I can change the $() to something else but I really like how short that function name is... Anyways, all the googling and forum searching has turned up no answers other than making sure you have the call to the .JS file in the script tags at the top
[jQuery] Potential Bug with next()
<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> <!-- /* Font Definitions */ @font-face {font-family:Verdana; panose-1:2 11 6 4 3 5 4 4 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0cm; margin-bottom:.0001pt; font-size:12.0pt;
Changing link location with jQuery
Hi, I'm using the nifty Galleriffic plugin for my very simple photo gallery: http://tinyurl.com/c9tfx8 Screenshot explaining the issue here: http://tinyurl.com/dfs7ll Clicking on the MAIN image switches to the next, I want it to link to the product page URL instead. This is just what I want, but the value of href variable isn't parsed correctly: $(document).ready(function() { setTimeout(function(){ var href = $('.caption h2 a').attr('href'); $("a.advance-link").removeAttr('href');
[jQuery] How to get the number of the selected element?
Hi there, I got 10 links on a site, all with the class collapsible. like this: a a a a a -> user clicks this a a a a a Now I want some var that stores the number 5 in this case. Hope you can help me.
[jQuery] Click on Today link does not display "Current Date" inside the text box
Hi, I am using jquery calendar, I have a problem, when I click on "Today" link, it is not displaying the current date inside the text box. I am pasting ui.datepicker.js /* * jQuery UI Datepicker * * Copyright (c) 2006, 2007, 2008 Marc Grabanski * Dual licensed under the MIT (MIT-LICENSE.txt) * and GPL (GPL-LICENSE.txt) licenses. * * http://docs.jquery.com/UI/Datepicker * * Depends: * ui.core.js * * Marc Grabanski (m@marcgrabanski.com) and Keith Wood (kbwood@virginbroadband.com.au). */ (function($)
[jQuery] [validate]validate works for IE but Not for Firefox, Nor Opera Nor Safari Nor Chrome :S
I'm working on a form, but can't get the validation to work on Firefox, it does work on IE though. any suggestions?
[jQuery] problem with IE extracting the document title from an ajax request response
Is there a trick with IE for extracting the title from an ajax response? This works fine in FF but fails in IE using 1.3.2 var newTitle=$(response).filter("TITLE"); it's a horrible problem to google as title is sooo common z
[jQuery] newbie question: problem attaching event listener to fragment loaded in ready handler
Hello, I'm pretty new to jQuery and ajax in general - so excuse me for the simple question. Question: How can I load a whole form with load() and after this fragment is added to the DOM of the page, set some event handlers to some of the elements of the form? I'm trying to load a code fragment in ready handler $(function () { $('#groupForm').load('Index_groupFrag.action', setGroupListener ()); }); function setGroupListener() { alert($('#UpdateGroupFrag_groupId').size()); } The alert returns size=0
how can i get element by jquery
I use jquery to get the element that is in iframe and with cursor. how can I get it? Thank you.
auto refresh using jQuery
Please help me...... I called my User Control (.ascx) file from .aspx file. User Control carries info of production status. The user control is inside: [code] <div id="mydiv"> <control:uc ID="myid" runat="server" /> </div> [code] I want to be able to refresh (or reload) the User Control automatically every 30 minutes is there any way for me to call div by "#myid" and refresh the User Control to display new status? Appreciate any help in advance [code][/code]
[jQuery] Checking each div to see if it contains specific text
I have a list of container divs that have children. I want to check for specific text in one child element, and if that is found, then hide another child element. For some reason what I have is not working: $('.exhibition_item_body').each(function () { if ($(this).children(".checkReception:contains('--:--:--')")) { $(this).children('.reception').hide(); } }); The divs look like: <div class="exhibition_item_body"> <h3><a href="#">Jane Maxwell</a></h3> <p class="checkReception" style="display:
[jQuery] jQuery appendTo() in IE7 before ready() [qTip|BlockUI]
Hi.. I have strange problems with IE7 (older/newer version not tested, but I think, it is also present in IE6) and some plugins, that do a appendTo(). The Webpage stops loading and I get a warning which says: Die Internetsite http://mypage.de/ kann nicht geöffnet werden. Vorgang abgebrochen Translated something like: The Website http://mypage.de/ cannot be opened. process canceled And than I get not my Webpage displayed.. no I get a IE intern website, which tells me, that the page cannot be displayed.
[jQuery] [validate] comma-seperated multiple emails validation
Hi, Is there a way to reuse the email method in the Validate plugin on the input field which takes multiple email addresses separated by comma? Thanks for the help!
[jQuery] how to handle redirect request caused by session timeout in web SSO environment
hi all, I'm newbie in jQuery, have been doing research about jQuery API but not really sure about the answer of my problems. I have a web application using single sign-on provided by WebSSO. The problem is, whenever there is an AJAX call and session already time-out, WebSSO will sent redirect request and it will make the AJAX break since AJAX can't handle redirect response. Is there anyway to handle 302 redirect, so I can redirect the browser to "Location" header returned by Web SSO ? jQuery.ajax(
[jQuery] [validate] form is sending despite the fact the form is not complete
Just like the subject says, my form is sending despite the fact that the form is not complete. The same happens if there are errors in the form. I've attached the JS and the HTML. Any help is greatly appreciated. I'm testing it locally right now. $("#reserve").validate({ rules: { firstname: { lettersonly: true, required: true }, last: { lettersonly: true, required: true }, address:
Change entire inner HTML in a div using JQuery
Hello - I am fairly new to Javascript, but understand my way around most things. However, I just recently stumbled upon JQuery and really like it! Anyhow, I have a DIV that has an image in it and nothing else. The DIV is #rocket I want to add functionality that allows (when the image is clicked) to replace the HTML in that div with other HTML that changes the image to a swf clip (short movie). I have searched the net and have found ways to change the basic HTML text and whatnot this way, but how
[jQuery] toggle function failed in tomcat
when i use this address file:///D:/apache-tomcat-6.0.18/webapps/tree/tree.html it works. when i use http://localhost:8080/tree/tree.html it failed. why ? could you help me? THANK YOU! HTML: <ul class="root" id="0"> <img id="img1" src="img/plus.gif" /><img src="img/folder.gif"/> </ul> custom3.js $(document).ready(function(){ $(".root").toggle(function(){ $("#"+this.id+" > img:first").attr("src","img/minus.gif"); },function(){ $("#"+this.id+" > img:first").attr("src","img/plus.gif"); }); });
[jQuery] ajax issue
The following code works well in all cases, except when run under the UI tabs as an ajax called program. Using the (latest versions of jquery and UI) I can see by the console.log that prgm is set to the correct value, but the program is called, but when run under tabs data is always empty. Any ideas where is need to look or poke next? console.log("Vitals from assessment prgm:%s",prgm); $.post(prgm,function(data){ console.log("Vitals - from assessment data:%s",data);
[jQuery] Modal Form & Validation + JSON call
can't seem to get the "button" for the modal to fire off the event for validate can anymore see what i'm doing wrong here? $(function() { var name = $("#name"), email = $("#email"), message = $("#message"), allFields = $([]).add(name).add(email).add(message), container = $('div.container'); $("#dialog").dialog({ bgiframe: true, autoOpen: false, resizable: false, height: 450, width:
[jQuery] IE7 memory leak solution
Hi. Update on the IE7 memory leak problem Original problem: I'm having problems with all ajax updates, $("#element").load() etc., as well as just setting html content with html(). Doing this over and over will gradually eat up IE 7's memory. Test case to reproduce: http://mif86.com/memtest3.htm It periodically loads another page's html content (http://mif86.com/ memtest2.htm) into a div using jQuery's $("#element").load ("memtest2.htm"). If you watch the memory usage in internet explorer, it keeps
[jQuery] error in ajax submit with special characters ,
hi, I am submitting a ajax request with special characters ("!@#$%^&*()_+} {":<>?;'[]") for a form field and I am getting a error. I have commented everything in server side, still its throwing me in error function of ajax. can u guys help me for this weird scenario. thanks guys
[jQuery] Triggering a namespaced event
Hi guys. Using jQuery 1.3.2 and getting some unexpected behavior this morning. This works, with the alert being executed when the showpalette event is triggered. $().bind('showpalette', function() { alert('showing palette!'); }); $.event.trigger('showpalette'); However, this does NOT work: $().bind('show.palette', function() { alert('showing palette!'); }); $.event.trigger('show.palette'); What am I missing? Namespacing your events should be just fine in this scenario, right?
[jQuery] Insert Html and a Javascript function with Jquery .html
Not sure the best way to do this, but I am trying to build a menu with a function then to insert it into the dom with jquery. I have tried bothe the methods below to no avail. All I am getting is "undefined" where the new links should be. If anyone can tell me what I am doing wrong, or give a little hint on a better way to code this, you would save the day //The menu function function buildMenu() { var i; for (i in menu1) { var menuItem = menu1[i]; document.write(menuItem); } } // The
Lightbox after timeout?
When users of my site reach a certain point of inactivity, I need a lightbox to show the content of an html page, Any suggestions on the best plugin to do this with? All I can find is lightboxes that work with href tags. I need the lightbox to show after timeout.
[jQuery] jQuery Malsup Cycle Plugin (advanced pager not working in IE)
I'm trying to use the advanced pager similar to this http://malsup.com/jquery/cycle/pager2.html However, it only works in FF and not in IE. My test page: http://cascodesign.ca/clients/lennard/listing.html I think it's great that this will auto generate the pager thumbnails! Any help would be greatly appreciated. Thank you.
[jQuery] Terrible print styles in the docs
Printed documentation includes many superfluous elements and cuts off the right side of the page in certain browsers. I know CSS like the back of my hand; is there something I can do to correct this? I'd be happy to. http://docs.jquery.com/skins/common/commonPrint.css - Missing quite a bit Thomas
Next Page