[jQuery] Form plugin: possible to alter the form after a submit?
> I'm using the form plugin and want do to things with the > form doing the ajax submit, after the submit has happened. > Unlike the option "before:", "after:" doesn't seem to pass > the jQuery object. Any way around this? It's a little bit asymmetrical because ajaxForm depends on jQuery.ajax for some of the work. The ajaxForm after function is the jQuery.ajax success function, renamed. So it gets the xmlhttp data and a status code, that's it. You should be able to use a closure to get what you want--untested:
[jQuery] Off topic: which programming language for webdevelopment
> Our company is looking for a way for 'quick' web-development.
[jQuery] Sortables with DIV's
<html xmlns:v="urn:schemas-microsoft-com:vml" 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=iso-8859-1"> <meta name=Generator content="Microsoft Word 11 (filtered medium)"> <!--[if !mso]> <style> v\:* {behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} w\:* {behavior:url(#default#VML);} .shape {behavior:url(#default#VML);} </style>
[jQuery] Off topic: which programming language forwebdevelopment
Sam... The Trial version is the full Enterprise edition that reverts to an IP limited (2 or 3 I think)developer edition after 30 days. <!----------------//------ andy matthews web developer certified advanced coldfusion programmer ICGLink, Inc. andy@icglink.com 615.370.1530 x737 --------------//---------> -----Original Message----- From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com]On Behalf Of Sam Collett Sent: Wednesday, November 22, 2006 12:11 PM To: jQuery Discussion. Subject:
[jQuery] Off topic: which programming language forwebdevelopment
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=Content-Type content="text/html; charset=iso-8859-1"> <META content="MSHTML 6.00.2900.2995" name=GENERATOR></HEAD> <BODY> <DIV><SPAN class=437230918-22112006><FONT face=Arial color=#0000ff size=2>I believe that Sam was talking about running the actual CF server (on your web server).</FONT></SPAN></DIV> <DIV><SPAN class=437230918-22112006><FONT face=Arial color=#0000ff size=2></FONT></SPAN> </DIV> <DIV><SPAN
[jQuery] Off topic: which programming language for webdevelopment
If you're looking for rapid development, then look no further than Coldfusion. <!----------------//------ andy matthews web developer certified advanced coldfusion programmer ICGLink, Inc. andy@icglink.com 615.370.1530 x737 --------------//---------> -----Original Message----- From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com]On Behalf Of Barry Nauta Sent: Wednesday, November 22, 2006 11:03 AM To: discuss@jquery.com Subject: [jQuery] Off topic: which programming language for webdevelopment
[jQuery] String.concat
>> String.concat is faster than "+". Firefox and Opera optimize the "+="
[jQuery] jQuery Methods, a new plugin?
>> Maybe the argument doesn't matter anymore with
[jQuery] Finding elements with class
Hey folks, I'm using Drupal and I have a menu that I want to apply an effect to. The menu code looks like this and I can't change it as the classes come from the drupal menu module: <ul class="links primary-links"> <li class="first menu-1-1-2"><a href="/nhm/" title="Home" class="menu-1-1-2">Home</a></li> <li class="menu-1-2-2-active"><a href="/nhm/?q=aboutus" title="About No Half Measures" class="menu-1-2-2-active active">About Us</a></li> <li class="menu-1-3-2"><a href="/nhm/?q=artists" class="menu-1-3-2">Our
[jQuery] SOT: Function review please?
The coupon codes are freely offered on the website, quite prominently actually. If the person still doesn't use them then that's their loss. The price is calculated in the cart code so I'm not worried about that. This is more a check because some people are using the wrong code either on purpose or accidentally then trying to still get that discount when their order is price adjusted. The price range is also clearly marked: http://www.modernessentials.com/coupon.cfm Thanks for the input though Dave...those
[jQuery] Problem with filtering out/changing specific elements
--
[jQuery] SOT: Function review please?
Do you want to prevent someone with an order over $1500 from using the save10 coupon code? Why not let them use it? They're leaving more money on the table for you, so let them have the smaller discount. If I View Source I can get the coupon codes? :) I would do a hash on the coupon code (a simple checksum, or even Tiny Encryption Algorithm, Google for it) to hide it, then look it up in an array that told you the minimum subtotal where the code was valid. If the code's has wasn't in the array, or
[jQuery] SOT: Function review please?
A client has a range of coupon codes that people can enter in the shopping cart to receive a certain percentage off their order. It's based on their subtotal in a range from 0 - $6000. He says that sometimes people willl enter the max coupon code for a lower range order thinking that they'll get the larger discount even though they don't qualify for that level. I wrote a quick function to check the range, but it appears a bit clunky. I know that many of you are really good at tweaking js to make
[jQuery] Using thickbox to display a cookie based "one timeonly" window
Hah... I actually took out the line because I thought I didn't need it. Thanks for telling me about it guys. <!----------------//------ andy matthews web developer certified advanced coldfusion programmer ICGLink, Inc. andy@icglink.com 615.370.1530 x737 --------------//---------> -----Original Message----- From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com]On Behalf Of Jörn Zaefferer Sent: Wednesday, November 22, 2006 2:04 AM To: jQuery Discussion. Subject: Re: [jQuery] Using thickbox
[jQuery] Animating text like a cash register
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=Content-Type content="text/html; charset=iso-8859-1"> <META content="MSHTML 6.00.2900.2995" name=GENERATOR></HEAD> <BODY> <DIV><SPAN class=000510114-22112006><FONT face=Arial color=#0000ff size=2>Dude...</FONT></SPAN></DIV> <DIV><SPAN class=000510114-22112006><FONT face=Arial color=#0000ff size=2></FONT></SPAN> </DIV> <DIV><SPAN class=000510114-22112006><FONT face=Arial color=#0000ff size=2>That looks freaking
[jQuery] Using thickbox to display a cookie based "onetimeonly"window
Interesting... I didn't know that actually. I was under the impression that Thickbox "fixed" that sort of thing. <!----------------//------ andy matthews web developer certified advanced coldfusion programmer ICGLink, Inc. andy@icglink.com 615.370.1530 x737 --------------//---------> -----Original Message----- From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com]On Behalf Of Chris W. Parker Sent: Tuesday, November 21, 2006 5:22 PM To: jQuery Discussion. Subject: Re: [jQuery] Using
[jQuery] Using thickbox to display a cookie based "one timeonly" window
I got it working actually. Check it out: http://www.girlscoutsofcv.org/indexNEW.cfm <!----------------//------ andy matthews web developer certified advanced coldfusion programmer ICGLink, Inc. andy@icglink.com 615.370.1530 x737 --------------//---------> -----Original Message----- From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com]On Behalf Of Karl Swedberg Sent: Tuesday, November 21, 2006 2:29 PM To: jQuery Discussion. Subject: Re: [jQuery] Using thickbox to display a cookie based
[jQuery] Breaking news from Dean Edwards site
<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:lucida console, sans-serif;font-size:10pt"><DIV>Dean has devised a way for cloning global JavaScript objects, like Array, making it possible to subclass them without interfering with their standard instances in the current page. </DIV> <DIV> </DIV> <DIV><A href="http://dean.edwards.name/weblog/2006/11/hooray/">http://dean.edwards.name/weblog/2006/11/hooray/</A></DIV> <DIV> </DIV> <DIV> </DIV></div>
[jQuery] Dynamic inputs not recognized
I have a page which creates dynamic text inputs through AJAX. I would like to run a function when the value inside the input is changed by the user. However, the following code doesn't seem to work on the dynamically created inputs (it does work for the static text inputs). Any ideas what I'm doing wrong? $("input").change(indicateChange); function indicateChange(foo) { alert("Item has changed Part II"); //continue with the required function code. } Seth -- View this message in context: http://www.nabble.com/Dynamic-inputs-not-recognized-tf2681894.html#a7480573
[jQuery] Fake event wont work on IE
Hi, I wrote a plugin with fake event "tabload" which is called when a tab content is loaded (a tab is a div, nothing more). I got this : jQuery.fn.tabload = function(f) { return f ? this.bind('tabload', f) : this.trigger('tabload'); }; the trigger is jQuery(element).tabload(); Register an event take the form : $('#tab1').tabload(function() { alert('tab1'); }); It works fine with firefox and opera but (surprise!) not with IE. I even tried this only code : $('#tab3').bind('foo',function() { alert('foo');
[jQuery] WYMeditor plugin
Hi! I've seen on the mailing list that some jQuery users seem to be interested in WYMeditor, so I'm posting here. Hope it's OK. WYMeditor is a web-based WYSIWYM editor (http://www.wymeditor.org/). Current stable branch (0.2) is being integrated as a module in Drupal 4.7 (http://drupal.org/project/wymeditor). 0.2 doesn't use jQuery. I'm working on version 0.3, which will be a jQuery plugin (thanks to Jörn who explained me how to write the plugin method), will have more features, and will be easier
[jQuery] Extending $.extend to extend from multiple objects!
Hi, I'd like to suggest an enhancement to $.extend, to allow extending an object from multiple objects. This will allow a simple way for plugins to have a global set of default options: $.fn.plugin(options) { var options = $.extend({}, arguments.callee.defaults, options || {}); ... } $.fn.plugin.defaults = { ... } This extends an empty object with the global defaults and then again with the local options. With the existing implementing this would have to be done as such: $.extend($.extend({}, arguments.callee.defaults),
[jQuery] Animating text like a cash register
<!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.5730.11" name=GENERATOR></HEAD> <BODY> <DIV dir=ltr align=left><SPAN class=876264020-21112006><FONT face=Arial color=#0000ff size=2>Are you sure you want to make people feel like they're spending too much money? </FONT></SPAN><SPAN class=876264020-21112006><FONT face=Arial color=#0000ff size=2>"Oh shoot did that thing just go up
[jQuery] manipulating like normal DOM
I've just begun using jquery, and wanted to set the disabled attribute on a input element. I have a string with an id value, and so I thought $('#'+string).disabled = 'disabled'; would cut it, but it seems I can't access normal DOM attributes just like that (I have to confess, I've used lots of prototype where I could do $(string).disabled = 'disabled';) so I changed it to document.getElementById(string).disabled = 'disabled', and this worked, but it didn't feel good. Is there another way, am I supposed
[jQuery] Table cell fading / sliding problems
Hi all, Been playing with jQuery, and I've come across a problem when I try to fade or slide table cells. In IE it seems to work OK but in Firefox, as the effect starts, all the cells stack one under the other, then the effect executes. Looks very odd. How can I make it work consistently in both browsers? Had a quick search of the list but I couldn't find a post about this. Thanks! -- Regards, Michael Price _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] What's wrong with this code? (Started on Firebug thread)
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> <HTML> <HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"> <META NAME="Generator" CONTENT="MS Exchange Server version 08.00.0619.000"> <TITLE>What's wrong with this code? (Started on Firebug thread)</TITLE> </HEAD> <BODY> <!-- Converted from text/rtf format --> <P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Calibri">Rey,</FONT></SPAN></P> <P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Calibri">I tried changing my code and tried your
[jQuery] Using thickbox to display a cookie based "onetimeonly"window
> > I got it working actually. Check it out:
[jQuery] find link of current page
Hi All, I have a list of links on a page and I'd like to apply a class to the link that is the current page's address. So, for example, when you get to the "contact" page, the link "contact" is underlined. Is there a quick way to do this in jQuery? Cheers, Dug -- Dug Falby http://www.donkeyontheedge.com/ _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Using thickbox to display a cookie based "onetimeonly" window
On Tuesday, November 21, 2006 3:07 PM Andy Matthews <> said:
[jQuery] Inserting <embed> and <object> -- how?
On Tuesday, November 21, 2006 1:57 PM jyl@mod3.net <> said:
[jQuery] Sortables with DIV's
Hi to every: I'm newbie using jQuery but I can say that's a amazing library. I have a little question: Right now I use Interface for sort UL elements but I need this functionality, I mean sort, but with DIV. Exists any plugin for do that? Cheers and thanks in advance -- ReynierPM 5to Ing. Informática Maestro de poco, aprendiz de mucho _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] show/hide and not block
Bonsoir, Just subscribed to the list and cannot continue the thead http://www.nabble.com/forum/ViewPost.jtp?post=7388238&framed=y So sorry if it's double. Without inline style but <span> Brandon Aaron
[jQuery] finding a div in an iframe that hasn't got jQueryenabled
> I'm pretty sure I've manipulated an iFrame using Javascript
[jQuery] Packer and ActiveX ...
> One hack (decompressing a string using eval()) > seems to break another hack (bypassing 'click > -to-activate' in IE using js)... What we need is more hacks then. Does it help to use Klaus' hack, or is that what you were already using? http://jquery.com/discuss/2006-August/009778/ _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Problem with filtering out/changing specific elements
> Ok, here's what I want to do. Let's say this is my html:
[jQuery] Dynamic inputs not recognized
> ... the following code doesn't seem to work on the dynamically
[jQuery] Grid and Storing State
> I'm finding that people attach state to the target elements,
[jQuery] finding a div in an iframe that hasn't got jQuery enabled
Hello jQuery folk, Not sure what the question etiquette is here so I'll just lumber into my question. Hope I'm not breaking any rules (have searched but couldn't find the info I need):-) Here's what I'm trying to do: I have one page that I host. The page has jQuery loaded. The page calls another page I do not control into an iFrame. The page that is getting called does not have jQuery. I need to change the "display" style attribute of a div (id="left_nav") in the called page to "none". Is this possible
[jQuery] manipulating like normal DOM
.attr() is used to get or set a single DOM attribute, AFAIK. For those attributes that take their name as a value, like disabled, readonly, etc., you can just do the following: $('#'+string).attr('disabled', true); $('#'+string).attr('disabled', false); To access the underlying DOM object when you have a jQuery object, use .get(n), where "n" is the index of the element (always zero if you get by ID). $('#'+string).get(0).disabled = true; m. -----Original Message----- From: discuss-bounces@jquery.com
[jQuery] manipulating like normal DOM
> I've just begun using jquery, and wanted to set the disabled
Next Page