[jQuery] Error with Ajax Submit with Form plugin in IE
Hi all, In my web application, the user is able to fill in a contact form, which will send an e-mail on submit. I am using the official Form plugin. The form plugin is working perfectly in Mozilla, but not in IE6. Check the foillowing example : http://matthew16.free.fr/temp/contact-form.php When I submit the form in Mozilla, the content div is replaced by the string returned by the php code. in IE6, a new page is opened, like the ajax is not working. I also noticed in IE6 that my javascript generates
[jQuery] [ANNOUNCEMENT] jqGalView (yet another image gallery)
Hello All, Wanted to announce yet another image gallery! What is different between this one and other million out there, well, I made it :). The url: <a href="http://benjaminsterling.com/2007/08/24/jquery-jqgalview-photo-gallery/"> http://benjaminsterling.com/2007/08/24/jquery-jqgalview-photo-gallery/</a> I am still working on the documentation, I am not very good at it so if there are any questions, please ask. I will post all questions asked and fixes posted here in the comments on the site for
[jQuery] [NEWS] More Press for tableSorter
The press continues around Christian Bach's tableSorter plugin. The most recent is an intro to the plugin on the AMIS Technology Blog: http://technology.amis.nl/blog/?p=2376 The phrase that caught my attention was "I really love the tablesorter plugin. It’s very easy to use and the code looks so clean!". Great work Christian!
[jQuery] RE: jQuery 1.1.4: Faster, More Tests, Ready for 1.2
Hi John, that's great news for everybody. We just updated the new builder for the YAML CSS Framework to jQuery version 1.1.4 and it worked like a charm. The builder runs more smooth now! Nice work. It was originally build on version 1.1.3: YAML (Yet Another Multicolumn Layout) Builder: http://builder.yaml.de/ -Tom
[jQuery] an image preloader / need help/direction
Hey guys and gals, I am working on a plugin that will give a flash preloader functionality to jQuery by, ummm, using flash. The way it works now is that it take an image that a developer marks for "preloading," sends that url to flash at the same time it removes the img tag and creates the tags for a load bar and flash. In the flash file, it loads the url into the loadMovie function and I have a basic preload script that uses the flash.external function and calls a function in the "plugin" and
[jQuery] Who created this jQuery logo?!
Guys, anyone know who created this jQuery logo? If so, please send me some contact info. Thanks, Rey
[jQuery] Selector Question
I have HTML like so with a bunch of <fieldset> tags: <fieldset><legend>[ Title1 ]</legend><div id='wc1'></div></fieldset> <fieldset><legend>[ Title2 ]</legend><div id='wc2'></div></fieldset> .. <fieldset><legend>[ Titlen ]</legend><div id='wcn'></div></fieldset> These fade in and out and I had this for the fade out: $('div[@id^=wc]').click( function() { $(this).text("").fadeOut(250); }); But I don't want to click the div container to fade out, but rather the legend, and then fade out the div container
[jQuery] How to Inject style sheets/.CSS
I have a <textarea> with CSS code and I would like to inject to into the current page Currently, I'm saving the text to a .CSS file and reloading the page. Thats old school! How is this done with jQuery?
[jQuery] [NEWS] jQuery's Fearless Leader on Ajaxian
jQuery's fearless leader John Resig is in the news today on Ajaxian.com. The post is about John's recent chat over at Google on "Best Practices in Javascript Library Design". The cool thing is that its a video presentation so you get to see the man in action!! http://ajaxian.com/archives/best-practices-in-javascript-library-design Rey
[jQuery] Can the $.ajax(properties) go across domains?
I'm trying to get a json object from a sub-domain but keep getting a error (cross-domain / cross-site scripting error). Any ideas, can the $.ajax(properties) function handle jsonp? A sample of my code can be viewed at http://matthewmoore.info/jssamples/ajax-code.html Thanks for your help in advance. Matthew
[jQuery] Help Traversing
I hope this isn't a double post, my other one was over 12hrs ago and it never displayed. I'm trying to get the text out of a tag, I can do this if I set an id name, but I don't want to id everything, since with jQuery I don't need to. The premise is I'm clicking a link and it gets two values and inserts them in a texarea. Inserting isn't the problem, just finding the values. $(document).ready(function(){ $("#comments span h5 a").click(function(){ var author = $(this).parent("span").next("p").text();
[jQuery] how find this value
I have this table: <table width="98%" cellspacing="3" cellpadding="3" border="0" class="cnu"> <thead> <tr> <th><strong>Operatii</strong></th> <th><strong>TIP </strong></th> <th><strong>Denumire articol sau serviciu</ strong></th> <th><strong>UM</strong></th> </thead> </tr> <tr> <td><input type="button" class="button ccc" name="salvezidarticol" id="salvezidarticol" value="Salvez"/> <input type="hidden" value="1" name="codintern" id="codintern" class="codint"/></td> <td class="class_td"> <select id="idfelp"
[jQuery] Very confused!
OK, I thought I knew jQuery pretty well. But this is completely stumping me. What I want to do is iterate through a newly attached set of input elements, and set their names based on a dynamic (incrementing) number. But the only value that ever gets used is the initial value of the variable. I've tried everything, attaching the value to the dom object, and then in the loop trying to access it (still the same original value), using a global variable, a function to get the value, all return the original
[jQuery] New Plugin: Live Query (previously called Behavior)
Some of you may be familiar with Behavior. It was a first attempt at implementing a "live DOM" experience. Behavior has been rewritten from the ground up with performance in mind and new features. It is now called Live Query. A couple of new features are that: * Live Queries work with attribute and class selectors * Live Query automatically unbinds events to unmatched elements and when the Live Query is expired * Live Query can fire a second callback for when an element is unmatched and when the
[jQuery] Broken Selector Help
I am trying to target the first table cell in each table row. I'm not familiar with the + character, but I thought it might be the key, but it wasn't: jQuery('#rank-products table.product-table tr + td').addClass('rank- handle'); And of course this doesn't work either. jQuery('#rank-products table.product-table tr td:first- child').addClass('rank-handle'); Also, it's important that this doesn't target nested tables (eg. #rank- products table.product-table table). Is this possible without getting
[jQuery] Tabs plugin scrolling issue
Hello, I'm using the tabs plugin (2.7.4) and I'm experiencing problems using firefox. When I'm clicking on a tab, sometimes, but not always, it scrolls down to the div that is being activated by the tab, it actually even does that when trying the samples at http://stilbuero.de/jquery/tabs/. It doesn't seem to be related to the jquery version, as it does the same with 1.1.[234]. This is unfortunately not reproducible easily, the only way to do so is switching from one tab to another until the bug
[jQuery] Beginner not getting it.
I've been trying to follow the tutorials for the simple things and they aren't working. This is just a short snippet: <script type="text/javascript" src="jquery-1.1.4.js"></script> <script type="text/javascript"> $(document).ready(function(){ $("a").click(function(){ alert("Thanks for visiting!"); }); }); </script> </head> <body> <a href="#">Click</a> </body> But I just get an error in firebug '$ is not defined" on line $ (document).ready(function(){ I've been using mootools because I was daunted
[jQuery] how do iterate through array of JQery objects
I'm having problems iterating through an array of JQuery objects. Here's my code: var x = $("#skip a"); for (var i=0;i<a.length;i++){ var n = x[i]; $(n).click(function(){ $(n.hash).hide(); $("#primary h1").after( $(n.hash)[0] ); $(n.hash).fadeIn("slow"); return false; }); } x=$("skip a) is an array of links which have named anchors for their href. I want each link to not jump to the named anchor, but to dynamically change the page layout by moving the named anchor to a new area of the page. But each
[jQuery] jd menu issue
here is my code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Kaizen Digital</title> <script type="text/javascript" src="/kaizen/api/js/jquery.js"></script> <script type="text/javascript" src="/kaizen/api/js/livequery.js"></script> <script type="text/javascript" src="/kaizen/api/js/jdmenu.js"></script> <link
[jQuery] Ajax Event Calendar
I am looking for development of a javascript/ajax based calendar. A good example of the simplified functionality we are looking for in a event based calendar is at : http://www.backpackit.com/calendar And even all of the things that backpack calendar has would still be too many features (ie: don't need multiple calendars). This is for a non-profit company and are needing something simple yet functional. Any ideas/thoughts/etc that you guys have would be great! Thanks! Rocksteady, Danno~
[jQuery] Thickbox wiredness - IE6 vs FF2.0
I am using tmost excellent thickbox v3 in my photogallery. One ting i notice if the wierdnesss bewteen IE6 and FF2.0. Specifically this relates to using slidToggle for some animation. What i have done is mode the tickbox js file so that the image will fade into view using animate({ opacity: 'toggle'}, 500);. But i have also initially hidden the bottom white navigation area (the one has the close link and prev/ next, and image caption). Then i have it slide down. The slide down works flawlessy in
[jQuery] File uploads with Form plugin
I'm loading my form into a div via $.load() and attaching the form. The only field in the form is a file upload. My buffer on the server is empty after I submit and I am not getting any error messages. Does the file support in the form plugin work when the form is loaded with ajax? Code Sample ------------------------- $('.MainItems').click(function(){ var lRel = $(this).attr("rel") $("#FuncDetails").html(''); $("#main").load('/Admin.scpc?&Prog=ViewItem&Type='+lRel+'&UserId='+
[jQuery] File uploads with Form plugin
I'm loading my form into a div via $.load() and attaching the form. The only field in the form is a file upload. My buffer on the server is empty after I submit and I am not getting any error messages. Does the file support in the form plugin work when the form is loaded with ajax? Code Sample ------------------------- $('.MainItems').click(function(){ var lRel = $(this).attr("rel") $("#FuncDetails").html(''); $("#main").load('/Admin.scpc?&Prog=ViewItem&Type='+lRel+'&UserId='+
[jQuery] help a newbie....
Hi, I am a Cold Fusion developer starting playing with jquery and I get the first problem: I have a link with class pack and I want to open in a popup using the href attributes: My jquery statment is: $(document).ready(function() { $('a.pack').click(function(){ var $href = $(this).attr('href'); window.open("$href","popup","width=630,height=700,status=no,resizable=yes,scrollbars=yes,location=no,toolbar=no"); return false; }); }); 1) if I alert $href I get the right
[jQuery] Dynamic Form Validation?
Hello, anyone has idea how to do dynamic form validation? e.g. using http://bassistance.de/jquery-plugins/jquery-plugin-validation/ <input name="t1" type="text" /> <input name="t2" type="text" /> I only want to check for required field for t2 ONLY if t1 is equal to some value e.g. If t1 = "test", then t2 cannot be null, else never mind abt t2 has any idea?
[jQuery] Sortable Table Plugin Demos
Has anyone used this plugin to do something other than the example/ demo script that you can find in the Learning Jquery book? I want to use this plugin, but I'm having trouble getting it to work and would love to see other examples in action that might help me. One thing that I'm doing differently, is that I've got 4 table data cells ( <td> ) for each <tr> and doesn't work well with the plugin.
[jQuery] IE hover effect
Does anyone know if IE support hover effects on divs? -- View this message in context: http://www.nabble.com/IE-hover-effect-tf4324220s15494.html#a12314607 Sent from the JQuery mailing list archive at Nabble.com.
[jQuery] IE 7 not running callback from .get()
<!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.16525" name=GENERATOR></HEAD> <BODY> <DIV><SPAN class=771365713-24082007><FONT face=Arial size=2>FF 2 works just fine, but IE isn't running the callback function, nor is it erroring. if I take everything out of the callback function, and put an alert() in there it works. So it's obviously something inside the callback, but
[jQuery] 1.1.4 update breaks page
I haven't dug into the details yet, but I swapped the updated 1.1.4 into my development app and it broke a screen. It looks like it has to do with eval'ing of scripts in a XHR response. I'm using the form plugin to post a form and get the results back into a DIV, and the blockUI plugin to block the page while it's processing. Nothing fancy. I don't have any scripts being returned in the response, so it shouldn't need to eval anything, but that's what the error console looks like it's saying to me.
[jQuery] yuimin 1.1 released
Hi, all! We discussed yuimin a couple weeks ago. i just came across an updated version and thought this might interest some of you: http://www.julienlecomte.net/blog/2007/08/20/yui-compressor-version-11-now-available/ In my experience, yuimin compresses better than packer or jsmin in almost all (but not all) cases. An interesting exception is the jQuery sources, which is compresses to around 31k. That said, when using a combination of (some packer)+gzip compression, yuimin+gzip has provided the best
[jQuery] Karl, cluetip questions: Select IE6 bug ETA, and incorporating JTIP?
Hi Karl, There are two major reasons why I am using JTip: 1. You had posted a fix for the select issue (select boxes showing up above the tooltip), which directly affects how I'm using the box so I need this functionality 2. The built in CSS styles has the little arrow shape that points to the tooltip, giving it the appearance of a comment/talking bubble. In the JS, it checks browser width etc (or something) and calculates which side to put the box on and where to position this arrow shape. I'd really
[jQuery] Using selectors with jQuery table sorter/pager plugin
When using the jQ table sorter/pager plugin should you be able select all elements of a certain class even if they are out of the current paging view? My experience has been that if an element is not in the current view (current page) it isn't found. Where is the element? I assumed elements were still there just hidden. Are they actually removed from the DOM? If so, is there a way, other than queuing changes in an array, to address this issue when you need to select or bind events to an element
[jQuery] [ANNOUNCE] LavaLamp for jQuery lovers released!
<div>Hi friends,</div> <div> </div> <div>Thank you! both for all your patience and valuable feedback. This sure helped shaped this plugin into whatever it is today.</div> <div> </div> <div>LavaLamp is a very simple menu plugin for jQuery. As many of you already know, fancy hover effects is what gives it character. </div> <div>It was originally written by <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://devthought.com/cssjavascript-true-power-fancy-menu/" target="_blank">Guillermo
[jQuery] putting value to html from a php script
I am new to this group and JQuery. I am reading a lot of stuff about it but I nee to ask a question for something that I to create. I have an area in my html page where I want to call a php script that prints a total. Is it as simple as this: $.get("totals.php" ); Am I in the rigth track? Thanks, Nestor :-)
[jQuery] jQuery in the wild
jQuery does some animation on this site... simple but effective. http://www.dmdirectmail.com (warning: heavy image content -- it is a kind of portfolio site!)
[jQuery] Handling scope issues (jQuery with tinyMCE)
$(document).ready(function () { tinyMCE.init(...); }); Calls like this results in "tinyMCE is not defined" error from the rest of the tinyMCE files. So, I tried (to solve scope(?) issue): $(document).ready(function () { tinyMCE.init(...); window.tinyMCE = '' + this.tinyMCE; }); but, that resulted in "tinyMCE.xxxxx() is not a function" for all the related functions from tinyMCE files. So, does anyone know how to handle the scope(?) issue like this? TIA -- <?php echo 'Just another PHP saint'; ?> Email:
[jQuery] TableSorter2 with TableSorterPager without PageSize
Is there a way to use tablesorterpager without pagesize - the select box with number of rows? Something like: $('table').tablesorterPager({ container: $("#pager"), size: 20, cssPageSize: null }); doesn't work. MichaL
[jQuery] User Environment Detection Suite. At 90% and need some help with the rest of the way
<!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.16525" name=GENERATOR></HEAD> <BODY> <DIV><FONT face=Arial size=2><SPAN class=321211419-23082007>My company uses a user environment detection suite called Browserhawk (<A href="http://www.browserhawk.com/">http://www.browserhawk.com/</A>) which sells for around $1k per server. It detects a number of aspects about a web surfer's
[jQuery] IE memory problem (still)
Hi, I added some months ago a ticket for memory problems, and as I found it should be fixed already, but I'm still not sure if it is correctly fixed or if there is maybe a different way of doing the same. I have following JavaScript: var h = []; for(var i=0; i<20; i++) { h.push("<button _idx=" + i + ">Button " + i + "</button>"); } $("#display/button").unbind("click", onClick); $("#display").html(h.join("<br/>")); $("#display/button").bind("click", onClick); If I run this several times memory
[jQuery] Use jQuery to get the Flash version?
<!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.16525" name=GENERATOR></HEAD> <BODY> <DIV><SPAN class=011124114-23082007><FONT face=Arial size=2>Is there something built into jQuery (or a plugin hanging around) which can give me the Flash version on the user's browser?</FONT></SPAN></DIV> <DIV> </DIV> <DIV align=left><SPAN style="FONT-SIZE: 14px"><B><FONT face="Century
Next Page