[jQuery] looking for plugin that presets values in text box
Hi, some time ago I saw a jquery plugin which would preset the value in a text box and when users' cursor came to that text box...the preset value would go away. it was sort of there to let the user know what format should be in this text field. I cant recall the name of the plugin. Wondering if someone can help me find this plugin?
[jQuery] .click()
Running into something strange. I have an image with an onclick handler that calls on a hidden <input type="file" id="logo" ....> via <img src="xx" onclick="$('#logo').click()"> This works flawlessly in Safari, IE 6 & 7 but not in FF Mac (not sure about PC). Any ideas? Also, what is the best way when taking this approach? I have it where the file input is in a div. I initially tried using display:none for the container div but the file inputs stopped working. I changed the div to visibility:hidden
[jQuery] Vexed with SuckerFish & Flash
Awhile ago I implemented a basic menu based on jQuery/Suckerfish(<a href="http://be.twixt.us/jquery/suckerFish.php"></a>), and I never realized the implications of the menu appearing behind a flash object until said object became available. I've read though the posts and I've seen some talk about solutions, but as of yet I haven't seen anything that worked in the wild. My current implementation uses the latest jQuery.js and I've tried to implement the flash object using swfObject.js (which causes
[jQuery] jquery validation demo errors
Jörn, (or anyone that knows of some alternate links) In Firefox 2.x this page throws a js error when it loads, and doesn't seem to work: http://jquery.bassistance.de/validate/demo-test/radio-checkbox-select-demo.html error (from Firebug console): $.meta has no properties $.meta.setType("attr", "validate"); This page throws it, too: http://jquery.bassistance.de/validate/demo-test/custom-methods-demo.html Just letting you know. Thanks, Jack
[jQuery] jquery validator addMethod library?
Hi All, Anyone know of a collection of jQuery.validator.addMethod custom validators, other than what can be culled from here? http://bassistance.de/jquery-plugins/jquery-plugin-validation/ I'm working on some dynamic form generation stuff, with validation injection, and have a set of formats that I'd like to validate against that will probably grow over time. It'd be nice to pull in a set of "extra" validators from one source, if such a beast exists. Thanks, Jack
[jQuery] Issue with jQuery zebra tables tutorial...
I've just started working with jQuery today. One of the things I've been doing is using zebratables, but it has been with a javascript function I found that runs off the window.onload. I like the idea of doing this in jQuery as it is definitely faster (i tested it) and it is a lot cleaner and simpler. Here's the problem. I do the $(".stripeMe tr:even").addClass("alt"); and it works just fine. Then I have the $(".stripeMe tr").mouseover(function(){ $(this).addClass("over"); });
[jQuery] Binding a function to dynamically generated markup does not work
Hello *, I've dynamically ( per javacript) generated <select/> lying in a div container (statically defined in <body/>). It does not work to bind a function to this select ($ ("#id_of_select").change(...). $("#id_of_div).change(...) does work and is my workaround at the moment. But this means, that it is impossible to generate markup only dynamically, you always have to define your div/span/wathever containers. Is this right? Happy jQueriying Uli
[jQuery] Cycle Plugin and IE7 alignment offset
First off... great work on the Cycle plugin. I have a set of rotating logos using Cycle and it works and looks great on FireFox, but IE7 has one problem. The logo images are indented to the right about 100px. If I remove all the images but one, then the image goes back to the left just like on FireFox. The example is currently on a secure site so I can't provide a URL, but the following code might help? Any suggestions on how this problem can be corrected? Thanks. HTML Code: ====================
[jQuery] Regarding jQuery form plugin
Hi .. I built a multiple form uploader that uploads multiple files. I have it working exceptionally except that when i changed the url of the POST to or Action field to provide access to the cookies that come with the form post - it will no longer display the response. For example .. Posting to domain.com contains some cookies but not the same ones as www.domain.com so when i change the url to pick up the cookies i need .. going to www.domain.com instead of domain.com .. -- it stops working . {here
[jQuery] Need some help
Hi, I recently started learning about jQuery and I have not worked much on javascript. I am basically a server side java developer.
[jQuery] :last-child problem
Hi, I've got strange problem with :last-child selector, my html structure: <div class="box-full"> <div class="info green"> </div> <div class="info green"> </div> </div> and jquery script: $(".box-full .info:last-child").addClass("last"); what is strange that $(".box-full .info:first-child").addClass("last"); works perfect! thanks in advance Tomek
[jQuery] Is there a problem with JQuery Form Plugin and v1.2.1 ?
I use a lot JQuery on my sites although I'm not a savvy javascript writer (but that's common now) I turned to 1.2.1 to be able to use the new version of Tabs. It did not arrive immediatly (that is why i scratch my head hard) but within two weeks I began having more and more problems with every jquery module I use, until now where the only solution is to disable jquery.form.js to allow something to work. Of course, it breaks all the data submit functions... - Is there a known problem between these
[jQuery] jQuery Tabs - Can I Do This?
I'm using the Tabs plugin, and have a question. <ul> <li><a href="#tab-1"><span>My First Tab</span></a></li> <li><a href="#tab-2"><span>My Second Tab</span></a></li> <li><a href="<a href="http://www.someothersite.com/">http://www.someothersite.com/</a>"><span>My Third Tab</span></a></li> </ul> <div id="tab-1"> // my content </div> <div id="tab-2"> // my other content </div> Is it possible to get that third tab to actually go to the off-site URL when clicked? I tried this, but
[jQuery] bug?: clone(true) does not work or messes up
i may have found a possible bug with clone(true/false). according to the doc, clone() can be fed with a boolean parameter that specifies whether behaviors should be cloned too. no matter how i tried, it fails, as you can see it here: http://www.pixeline.be/youplaboum/ui.html (fill the field "nombre de semaines" with, say, "2" which will clone twice a small UI on change. The datepicker behaviour in the cloned UI datefields do not work properly, nor the masked plugin, nor Kelvin's datepicker. Even
[jQuery] Not recognizing multiple classes
I'm trying to hide all items tagged with a specific class upon clicking on a span with a similar tag. $("#tags span").click(function(){ var whichClass = $(this).attr("class"); //hide all the p's that do not match the class clicked $("p[class!='"+whichClass+"']").hide(); //show any straggling, hidden p's with the right class $("p[class='"+whichClass+"']").show();}); <div id="tags"> <span class="first">First</span> <span class="second">Second</span> </div>
[jQuery] using animate() with duration/queue object and callback doesn't work
hi, this works fine $elem.animate( {opacity:0}, 600, callback) .animate( {height:"hide"}, 700); but this doesn't $elem.animate( {opacity:0}, {queue:false, duration:600}, callback) .animate( {height:"hide"}, 700); nor this $elem.animate( {opacity:0}, {queue:false, duration:600, callback:callback}) .animate( {height:"hide"}, 700); what am i missing?
[jQuery] build my first jquery plugin multiselect
work needed , So I build it just put here,if anyone need it just use , and welcome to make it better I come from Chinese , So my English is not so good. url:http://www.live-my-life-with-yuyi.com/lab/jquery/multiSelect/
[jQuery] Serialize unchecked checkboxes?
Hi! I thinkt the serialize method is great but it seems like it has been changed to only serialize checkboxes that are checked. Earlier it serialized all of them and i could use the selector :checked to only get the ones that are checked if I wanted to. Now I want to serialize all checkboxes in a form. How can I achieve that? Thanks! /Niklas
[jQuery] drag'n'drop, double added element
Hello. I'm trying to create drag'n'drop interface with jQuery UI. See code for adding to node. $("#dropzone").droppable({ accept: '.imagethumb', activeClass: 'droppable-active', hoverClass: 'droppable-hover', drop: function(ev, ui) { var id = $(ui.draggable.element).attr("id"); var src = $("#" + id).find("img")[0]; src = $(src).attr("src"); var el = $("<img/>").attr("id", id + "d").attr("src",src).addClass("draggable").draggable({revert:
[jQuery] demo issue
<strong>next()</strong> demo fails in IE.
[jQuery] jQuery tablesorter problems
I've followed all of the instructions on the jQuery tablesorter website, but the Tablesorter refuses to show up on Firefox 2.0.0.11 on Linux. Unfortunately, I can't give links because the table is in the site's admin panel. So, help? -soren121 ToonCity News (tcn.uni.cc) -- View this message in context: http://www.nabble.com/jQuery-tablesorter-problems-tp14626560s27240p14626560.html Sent from the jQuery General Discussion mailing list archive at Nabble.com.
[jQuery] Why is it not working?
How come when I put everything in like this, it will not be working? <script type="text/javascript"> function disappear() { $("#response").fadeOut("slow") } $(document).ready(function() { $("#message_me").click(function() { $("#form").fadeIn("slow") }) $("#send").click(function() { var str = $("#input_form").serialize() $.post("send-mail.php",str,function(data) { $("#response").html(data).fadeTo("slow", 0.7) setTimeout("disappear()",
[jQuery] Problems with Jquery-ui demos
Apologies if this issue has already been reported. On the Jquery UI site, when I click on "See the Demos", then on the Sortables, Selectables, or Slider demos, rather than any behavior in the demos, I just get the following javascript exceptions: array has no properties <a href="http://dev.jquery.com/view/trunk/jquery/src/core.js">http://dev.jquery.com/view/trunk/jquery/src/core.js</a> Line 1110 In addition, Magnifier and Shadow demos don't appear to do anything. I am viewing the page from Firefox
[jQuery] Drop Shadow Plugin
I added a new Drop Shadow plugin to the site yesterday. It creates soft drop shadows underneath nearly any element, like text headings, content containers, and images (including transparent GIFs). It has several options, and you can experiment with it on my demo page at http://eyebulb.com/dropshadow. Please note that the demo page has a ton of shadows applied, so it may load a bit slowly. With more sparing use, it runs pretty quickly. Also, this effect is not perfect. I have tried my best to make
[jQuery] How come when I put everything in like this, it will not be working?
<script type="text/javascript"> function disappear() { $("#response").fadeOut("slow") } $(document).ready(function() { $("#message_me").click(function() { $("#form").fadeIn("slow") }) $("#send").click(function() { var str = $("#input_form").serialize() $.post("send-mail.php",str,function(data) { $("#response").html(data).fadeTo("slow", 0.7) setTimeout("disappear()", 3000) }) }) $.get("counter.php", function(data) { $("#counter").html(data).fadeIn("slow")
[jQuery] Superfish Hide Menu FF Problem
Hey Joel, I'm using your menu and it is really great! There is just one little question I have: I built a horizontal version of the menu. When I "mouseout" from a sub menu right above an input tag the menu doesn't hide. Even if I click in the input box it stays there. This is just a Firefox problem, in IE and Safari it works. I couldn't find a similar post yet so I'd really appreciate your help! Thx and a Happy New Year! Christian
[jQuery] Accessing Another Window
Looking for information on how to access an opened window via: $("newwindow.#tabnav").tabsAdd('#new-tab', 'Customer #4'); Where newwindow is the name of a variable that holds window.open. I have a function that checks to see if the window is open, and if it is, opens a tab (HTML) within that window. I just need to know how to access it via JQuery. A link or explanation would suffice. Thanks
[jQuery] IE bug with ">" child selector for XML
this one's odd. this works: $('comments>comment:eq('+i+')',xml).each(function(){ responses[i][$(this).attr("NAME")] = $(this).text(); }); but this doesn't: $('comments>comment:eq('+i+')>',xml).each(function(){ responses[i][$(this).attr("NAME")] = $(this).text(); }); the only difference being the extra ">" in the selector $('comments>comment:eq('+i+')',xml) $('comments>comment:eq('+i+')>',xml) i need to access the child elements. this works fine in firefox. in ie i get this error Line: 19 Char: 222
[jQuery] Debug Tools - Charles, DebugBar, Firebug Lite
What debug tools do you all use? So far, I've just used firebug. That really only seems to work well for me in Firefox and it works very well - makes my life 100 times easier. How about tools for IE? Is there anything you'd reccomend? As much as I hate coding for IE, it's what 80% of our visitors use. Hopefully, someday everyone on this planet will use Firefox, but until that day I need to code for IE.
[jQuery] javascript class question
I am using the following method of creating classes (function($) { //function to perform on element //function the relate to the object //the class itself })(jQuery) Now if there a common or perferred way to have one class inherit all the methods/member from a "base" class? -- View this message in context: http://www.nabble.com/javascript-class-question-tp14616017s27240p14616017.html Sent from the jQuery General Discussion mailing list archive at Nabble.com.
[jQuery] tablesorter: link in header
Hi All, My table header is link to other page. How can I have header text as link to other page and next to it image that sorts table and stays on the same page. I am using tablesorter ver.2.0. Thanks in advance, Tito
[jQuery] Ann: Google Iowa caucus maps
Hi all, Thought I'd let you know about a little project I just did for Google: Iowa caucus maps for Google Maps and the Iowa GOP website: http://maps.google.com/iowacaucus2008 http://www.iowagop.net/ The code doesn't do anything really spectacular with jQuery - maybe we'll get fancier for the other states - but it uses it extensively for basic DOM manipulation. -Mike
[jQuery] Cluetip delayed?
I'm seeing an odd delay before the Cluetip code fires. I'm wondering if I have cluetip configured badly, or if the problem is elsewhere in my code (most likely, but need to check...). Here's the Cluetip code: $(this).attr("rel", "xhr/dayDetails.cfm").cluetip({ activation : "click", positionBy: "mouse", mouseOutClose: true, sticky: true, closePosition: "title", ajaxSettings : { type: "GET", data: "e=" + eid + "&sd=" + dt + "&d=" + dt }, onShow : function (ct, c) { $("#dayDetailTip").children(".taskdetail:even").css("background-color",
[jQuery] Replacing tags
I have been fiddling with the replacing content in the html with jQuery, and I'm loving it. Stuff degrades nicely. We use a content editor at work that generates tags with upper case letters, and that doesn't XHTML validate, so I'd like to temporarily replace them with lowercase tags with javascript and preferably simple jQuery code. Is this possible? I couldn't get it to work. It shouldn't strip away the content of course, as this could be either P or STRONG. I thought I could take the content and
[jQuery] Using Jquery and ExtJS
Hi, I was trying to learn how to use jquery and ExtJs by following the tutorial on this page: http://docs.jquery.com/Tutorials:Using_Ext_With_jQuery but on the part where I click this link, <a href="#" id="wheelink">Whee Click me Click me!</a> the css is not taking its effect. I wonder if i have forgotten something... please help anybody...
[jQuery] question abotu validate plugin
i am using the validate plugin (http://plugins.jquery.com/project/validate) on a contact form here: http://beta.asset-guardians.com/contact.cfm the only problem is that the error messages are being inserted to the right of the field. I would liek them to appear just above the field (below the field's label). just submit the form without entering any values and you will see what i mean. any ideas on how to fix this? -- View this message in context: http://www.nabble.com/question-abotu-validate-plugin-tp14609198s27240p14609198.html
[jQuery] SITE: http://glassbooth.org/ - jQuery in the wild
This is a site that appears to help you match up to a US presidential candidate. It's got some nice interaction so checked under the hood and sure enough...it's using jQuery. Hoo-rah!
[jQuery] Superfish feature request
<!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.16544" name=GENERATOR></HEAD> <BODY> <DIV><SPAN class=260215012-03012008><FONT face=Verdana size=2>For the demo of the latest update/example:</FONT></SPAN></DIV> <DIV><SPAN class=260215012-03012008><SPAN class=427162508-03012008><FONT face=Verdana size=2><A title=blocked::http://www.klaasse.net/superfish-ext/superfish.html
[jQuery] Problems using Tablesorter widget
Hey, I've some problems using my own widget for tablesorters. I've created a 'addDetails' widget with this source:
[jQuery] IE 6 Invalid Character Error When Thickbox is Opened
Has anyone else seen this error before in IE6? Line: 1 Char: 120 Error: Invalid Character Code: 0 When I open a thickbox I see there's an error in the lower left hand corner of the browser. Clicking that shows the error message above. What causes this error and how do you make it go away? There's no error in Firefox or IE 7.
Next Page