Re: [jQuery] Beta Testers needed for Form Plugin file upload support

2007-03-31 Thread Mike Alsup
So when is it going alpha can't wait :) I've released it into the wild: http://dev.jquery.com/browser/trunk/plugins/form/jquery.form.js?format=txt ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] Beta Testers needed for Form Plugin file upload support

2007-03-31 Thread Mike Alsup
, do you feel it's a equal or better to the prior versions? On 3/31/07, Mike Alsup [EMAIL PROTECTED] wrote: So when is it going alpha can't wait :) I've released it into the wild: http://dev.jquery.com/browser/trunk/plugins/form/jquery.form.js?format=txt

Re: [jQuery] New version of jquery and IE6 bugs

2007-03-30 Thread Mike Alsup
Using jquery-1.0.4.js - NO PROBLEMS http://www.dilltree.com/test/jtest104.html Using jquery-latest.pack.js - CSS ISSUES ON REFRESH. http://www.dilltree.com/test/jtest112.html Jeremy, Have you tried an unpacked version of 1.1.2? ___ jQuery mailing

Re: [jQuery] Correct way to setup a callback function

2007-03-29 Thread Mike Alsup
I'm just wondering if we're getting into the toggleButton function, which should fire after all the params pass validation and are posted. Trying to make sure the syntax for the statement below looks correct, Rick, Please don't take this the wrong way, but why are you wondering? Put a

Re: [jQuery] Beta Testers needed for Form Plugin file upload support

2007-03-29 Thread Mike Alsup
Beta 4 is available now at: http://www.malsup.com/jquery/form/file/ Things seem to work well on ie6, ei7, ff2, and op9. I'm still trying to sort out issues with op8 and Safari. Mike On 3/29/07, Kush Murod [EMAIL PROTECTED] wrote: So when is it going alpha can't wait :)

Re: [jQuery] Beta Testers needed for Form Plugin file upload support

2007-03-29 Thread Mike Alsup
of ideas for this problem and so the file upload feature may have the caveat of not supporting xml responses. Mike On 3/29/07, Brandon Aaron [EMAIL PROTECTED] wrote: On 3/29/07, Mike Alsup [EMAIL PROTECTED] wrote: Beta 4 is available now at: http://www.malsup.com/jquery/form/file/ Things seem

Re: [jQuery] Problem with text() and html() in IE6

2007-03-27 Thread Mike Alsup
What exactly is failing? It works fine for me in ie6. What is the value of your 'value' variable? Mike On 3/27/07, Smith, Allex [EMAIL PROTECTED] wrote: Sorry to bug folks... but does anyone have a suggestion for me on this one or a hint as to where to look? I'm a wee bit lost. Thanks

Re: [jQuery] Problem with text() and html() in IE6

2007-03-27 Thread Mike Alsup
You confirm that I'm completely nuts. IE6 does that to all of us. :-) BTW Your Taconite plugin makes me very happy. Glad to hear it! ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] IE6 Performance Profiling?

2007-03-27 Thread Mike Alsup
Remy, you can use firebug lite to do timings (but not profiling). Mike On 3/27/07, Remy Sharp [EMAIL PROTECTED] wrote: Does anyone know how and with what I can performance profile in IE6? Firefox and IE7 are fine, it's just IE6 takes well over 10 seconds to load a heavily jQuery'ed page,

Re: [jQuery] Beta Testers needed for Form Plugin file upload support

2007-03-27 Thread Mike Alsup
later. Mike On 3/27/07, Roger Roelofs [EMAIL PROTECTED] wrote: Mike, On Mar 26, 2007, at 10:13 AM, Mike Alsup wrote: Safari 2.0.4 has problems when a file is chosen to upload and the return choice is xml. It looks like the form is sent, but the 'Submitting' overlay never goes away, so

Re: [jQuery] Taconite Plug-in Question...

2007-03-26 Thread Mike Alsup
Hi Chris, Yes, that will work just fine. Within the root element you can have as many commands as you like. And the commands are always processed in order. Mike On 3/26/07, Christopher Jordan [EMAIL PROTECTED] wrote: lol! ;o) Mike, I'm assuming that code like this would work: taconite

Re: [jQuery] change event on select

2007-03-26 Thread Mike Alsup
Kush, You just need to bind the change event to the select element after it's been inserted into the DOM. Mike On 3/26/07, Kush Murod [EMAIL PROTECTED] wrote: Hi Sam, Still didn't work, my guess is The reason I guess, because that 'select' is loaded through AJAX, and once loaded

Re: [jQuery] Beta Testers needed for Form Plugin file upload support

2007-03-26 Thread Mike Alsup
Safari 2.0.4 has problems when a file is chosen to upload and the return choice is xml. It looks like the form is sent, but the 'Submitting overlay never goes away, so it appears as if the callback isn't happening. All other return types worked fine for me, and the xml worked fine when no

Re: [jQuery] Beta Testers needed for Form Plugin file upload support

2007-03-26 Thread Mike Alsup
Thanks, Harald. On 3/26/07, Harald Dietrich [EMAIL PROTECTED] wrote: Sorry for the delay, but my feedback for IE was missing. I did not have any problems until now. So I think for FF and IE everything seems to be fine. ___ jQuery mailing list

Re: [jQuery] Get form name on button click

2007-03-26 Thread Mike Alsup
This will also work: var formName = elem.form.name; On 3/26/07, Brad Perkins [EMAIL PROTECTED] wrote: Solved. I had been trying parent() and not parents(). parentformname = $(elem).parents(form).attr(name) -- Brad On 3/26/07, Brad Perkins wrote: I have a form template that is shared

Re: [jQuery] Taconite question...

2007-03-26 Thread Mike Alsup
Rick, Anything you can do in jQuery you can do with Taconite. Just think to yourself, How would I do that in jQuery? For example, to check a checkbox you would write: $('#myCheckbox').attr('checked', 'checked'); So in Taconite that becomes: attr select=#myCheckbox name=checked value=checked

Re: [jQuery] Taconite question...

2007-03-26 Thread Mike Alsup
taconite replaceContent select(#someID) Error Message /replaceContent attr select=#HiddenStatusFieldID value=true) /taconite That should work shouldn't it? If you fix the typo with the parens that is a valid taconite doc.

Re: [jQuery] Taconite question...

2007-03-26 Thread Mike Alsup
On 3/26/07, Daemach [EMAIL PROTECTED] wrote: attr select=#HiddenStatusFieldID name=value value=true) Thanks, Daemach. I didn't read it closely enough. ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] Disable enter button submitting form

2007-03-26 Thread Mike Alsup
Except that they'll need to submit the form when the click the submit button. I just don't want them submitted the form when they hit enter on the keyboard. But that is the default and *expected* behavior. Is there a good reason to intentionally alter standard behavior?

Re: [jQuery] blockUI and IE 6.0 issues

2007-03-25 Thread Mike Alsup
Kevin, Can you give version 1.04 a try? It should fix the height problem in ie6. http://dev.jquery.com/browser/trunk/plugins/blockUI/jquery.block.js?format=txt Mike On 3/23/07, Kevin Fricovsky [EMAIL PROTECTED] wrote: Anyone else having issues with Mike's blockUI extension in IE 6.0?

Re: [jQuery] jqupload tweak + forms plugin

2007-03-25 Thread Mike Alsup
amircx, As I mentioned, the triggered events are not yet documented. You can listen for the form.submit.notify event like this: $().bind('form.submit.notify', function(event, jqForm, formOptions) { // do something when form is submitted }); Mike On 3/25/07, amircx [EMAIL PROTECTED] wrote:

Re: [jQuery] Taconite Plug-in Question...

2007-03-25 Thread Mike Alsup
No. The document's root element must be named 'taconite' and there can only be one. Mike On 3/25/07, Rick Faircloth [EMAIL PROTECTED] wrote: Hi, gang... Can there be more than one set of taconite/taconite tags on a single page? Rick ___

Re: [jQuery] Beta Testers needed for Form Plugin file upload support

2007-03-25 Thread Mike Alsup
Beta 2 is now available and once again I'd appreciate any feedback, especially from Safari users. http://malsup.com/jquery/form/file/jquery.form.b2.js Test page: http://www.malsup.com/jquery/form/file/ This version introduces some changes inspired by dojo's implementation. To support json and

Re: [jQuery] Taconite Plug-in Question...

2007-03-25 Thread Mike Alsup
Nope. I work mostly in Java (JSP) and PHP. And didn't I hear that CF was being discontinued? Ha, just kidding - just trying to get Rey's blood pressure up. :-) Hey, Mike... Do you use CF? Rick ___ jQuery mailing list discuss@jquery.com

Re: [jQuery] How do I find what form my input is in?

2007-03-23 Thread Mike Alsup
I know I can use parents to get the ancestors of my input, but this will get all forms on the page Why would parents() get all the forms on the page? Your input can only be in one form. You can always use dom code: var form = $(#myInput)[0].form; Mike

Re: [jQuery] Beta Testers needed for Form Plugin file upload support

2007-03-23 Thread Mike Alsup
Of Klaus Hartl Sent: vendredi 23 mars 2007 16:47 To: jQuery Discussion Subject: Re: [jQuery] Beta Testers needed for Form Plugin file upload support Mike Alsup schrieb: I've added file upload support to the form plugin and I could use some help testing it out. If this feature interests you

Re: [jQuery] Gurus - best Javascript references?

2007-03-23 Thread Mike Alsup
Nathan, you beat me to it! That is best reference I've seen on identifier resolution and scope chains. I *highly* recommend reading it as many times as it takes to sink it. You'll be glad you did. Mike Here's a great article on closures, references, scope, etc:

Re: [jQuery] Form Plugin: How to add a variable to serialization/array?

2007-03-23 Thread Mike Alsup
Try this: var securityCheck = mysecuritycode; var formData = $(#myForm).formToArray(); formData.push( { name: security, value: securityCheck }); ... // replace security with whatever the correct name is. On 3/23/07, Arne-Kolja Bachstein [EMAIL PROTECTED] wrote: Hi there, I am using the form

Re: [jQuery] blockUI and IE 6.0 issues

2007-03-23 Thread Mike Alsup
Kevin, Can you send me a link to your page? I've never seen the won't unblock problem before. The height issue is a result of not stretching the body element. IE6 borks in certain situations when that happens and so I dropped that code because it was becoming problematic. There were two

Re: [jQuery] blockui crushes IE6

2007-03-22 Thread Mike Alsup
right now. I'll download the 1.02 version and see if it fixes my problem. If it does, you'll be my hero! :o) Cheers! Chris Mike Alsup wrote: Christopher, I think I may have fixed this. If you're able to duplicate the problem could you test it with the latest rev (1.02)? http

[jQuery] Beta Testers needed for Form Plugin file upload support

2007-03-22 Thread Mike Alsup
I've added file upload support to the form plugin and I could use some help testing it out. If this feature interests you then go ahead and grab the beta plugin at: http://malsup.com/jquery/form/file/jquery.form.js File upload support is baked right into the plugin and there are no external

Re: [jQuery] Beta Testers needed for Form Plugin file upload support

2007-03-22 Thread Mike Alsup
) 10 [name]= string(12) hamsterdance [check]= string(2) on [pick]= string(3) one } File: Mike Alsup Rules.rtf (332 bytes) Form 2: UI never unblocks Output: N/A Form 3: seems to work fine Output: JSON (should be an object): [object Object] On 3/22/07, Mike Alsup [EMAIL PROTECTED

Re: [jQuery] jqupload tweak + forms plugin

2007-03-22 Thread Mike Alsup
One option is to listen to the new form events. The form plugin fires a vetoable event called form.submit.validate prior to submitting the form and a notification event called form.submit.notify after the form has been submitted. Perhaps you could use these to drive the desired external

Re: [jQuery] Beta Testers needed for Form Plugin file upload support

2007-03-22 Thread Mike Alsup
On 3/22/07, John Resig [EMAIL PROTECTED] wrote: Very very cool. I was curious as to how you had implemented - but I like how you did. Excellent solution. Worked well for me in my small test. --John On 3/22/07, Mike Alsup [EMAIL PROTECTED] wrote: I've added file upload support to the form

Re: [jQuery] Plugin Requests

2007-03-22 Thread Mike Alsup
Robert, Check out jqModal: http://dev.iceburg.net/jquery/jqModal/ It's an excellent windowing plugin and it handles some things, like focusing, much better than PWC. Mike On 3/22/07, Robert James [EMAIL PROTECTED] wrote: On 3/22/07, Sean Catchpole [EMAIL PROTECTED] wrote: Post your

Re: [jQuery] NOTICE: Moving to Google Groups

2007-03-21 Thread Mike Alsup
Sounds great, John. Will all the mailing lists be moving (web, dev, plugins)? I hope everyone is ok with this move. I think it's for the best. Please let me know if you have any serious concerns. Thanks! ___ jQuery mailing list discuss@jquery.com

Re: [jQuery] select box - options manipulation

2007-03-21 Thread Mike Alsup
Aljosa, You need to bind to the change event on the select element. On 3/21/07, Aljosa Mohorovic [EMAIL PROTECTED] wrote: i have a DIV.selection tag and inside SELECT with OPTION tags. using jquery i can find and manipulate options with $('div.selection').find(option).each and similar but i

Re: [jQuery] Validation and hidden fields problem

2007-03-20 Thread Mike Alsup
Did you try: $('div:not(:hidden) .required').each(... get all elements that have the class 'required' as long as the container does not have the class 'hidden' but sometimes there are loads of nested elements so its not always the parent as such. I've tried 'filter' and 'not' but with

Re: [jQuery] blockui crushes IE6

2007-03-20 Thread Mike Alsup
and put something together that can be publicly accessible. Thanks, Chris Mike Alsup wrote: I think we're dealing with two very different errors. Do you have a url that exhibits the focus problem, that would be a big help. Mike On 3/19/07, Christopher Jordan [EMAIL PROTECTED] wrote

Re: [jQuery] Anyone ever heard of this Netscape bowser? ;)

2007-03-19 Thread Mike Alsup
// iframe height // function setHeight(h){ if($.browser.mozilla) { $( function() { alert(h); } ); } $('#myFrame').height(h); } I know Netscape is barely in existence, but I'd like to fix it just the same. Any ideas? Did you try adding a call to window.resize() after you set the

Re: [jQuery] Anyone ever heard of this Netscape bowser? ;)

2007-03-19 Thread Mike Alsup
No, sorry. I thought maybe resizing the parent after the iframe had loaded might work. I just tried, but maybe I'm doing it wrong? Do you mean in the iframe or the parent? Tried both, but I didn't get anywhere. Can you post an example? Did you try adding a call to window.resize() after

Re: [jQuery] blockui crushes IE6

2007-03-19 Thread Mike Alsup
I think he means crashes. The latest code in SVN *should* fix the problem. Please let me know if it doesn't. http://dev.jquery.com/browser/trunk/plugins/blockUI/jquery.block.js?format=txt On 3/19/07, Christopher Jordan [EMAIL PROTECTED] wrote: By 'crushes' do you mean that you get a

Re: [jQuery] blockui crushes IE6

2007-03-19 Thread Mike Alsup
not accept the focus. So do you think your latest patch fixes this? (*hoping*):oD Chris Mike Alsup wrote: I think he means crashes. The latest code in SVN *should* fix the problem. Please let me know if it doesn't. http://dev.jquery.com/browser/trunk/plugins/blockUI/jquery.block.js?format

Re: [jQuery] Event-AJAX wait before animation completes

2007-03-16 Thread Mike Alsup
Your second attempt looks the closest. I would try it like this: $('.ajax-div-slide').click(function() { var url = this.href; $('#ajax-loader').animate({height: 375}, 'slow', function(){ $('#ajax-div').load(url); }); return false; }); But I've got to ask... why do you

Re: [jQuery] loading content into a div (IE7 problems)

2007-03-16 Thread Mike Alsup
Can you give us a url to look at? What could be the problem? ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] Event-AJAX wait before animation completes

2007-03-16 Thread Mike Alsup
link has been clicked previously. It seems like Internet Explorer checks it's cache to see if it has a copy of the ajax request already, which means it shows it straight away without any delay. Isn't that a good thing? Why impose an artificial delay?

Re: [jQuery] jQuery BlockUI Plugin IE crashes

2007-03-15 Thread Mike Alsup
jQuery BlockUI Plugin, IE crashes every time. I am using jquery 1.1.2 + form plugin Kush, do you happen to have any ActiveX controls on that page? The current version has a problem related to ActiveX. I have a fix for it but have not updated SVN with the change yet (still testing). Mike

Re: [jQuery] JQuery Form plugin

2007-03-15 Thread Mike Alsup
I am using the JQuery forms plugin and I have a problem. I would like to post a form that containse a file, ie I have to use enctype=multipart/form-data. How can I set this up when using ajaxForm()? Is there an example how you can upload files using ajaxForm()? thanks in advance for any

Re: [jQuery] looking for overlay loading window script

2007-03-14 Thread Mike Alsup
hey. i tried blockui and serval scripts, they are great, the problem that i want to able to do somthing like on user click on submit its open window like blockui has with loading... then its checks the json parameters that given back and if status is 0 then close the modal window and open new

Re: [jQuery] serialize form

2007-03-14 Thread Mike Alsup
The use case is an autosave for the form. I looked at the form plugin and it seemed to want to take control of the form submit. In my use case I want to save the form in the background and let the user continue to work with the form. I would recommend using the form plugin. Its primary

Re: [jQuery] Re Serialize Form

2007-03-14 Thread Mike Alsup
1) Will the form plugin work if only called through a function? Yes. 2) Will I be able to maintain the normal ( non-ajax ) function of the form submit button? Yes. 3) What serialization options are available? None. The form serialization is written to behave *exactly* the same way as the

Re: [jQuery] Local XML

2007-03-14 Thread Mike Alsup
However, if XML is loaded through .get, it is passed to the processing function as text, not as a document. That is not true. If the server returns an XML document, that's what is passed to your success handler. You need to make sure your server is setting the response content type to XML.

Re: [jQuery] BlockUI over ActiveX plugin

2007-03-13 Thread Mike Alsup
Is it possible to get BlockUI to overlay an ActiveX control in IE? I am using the XStandard XHTML editor plugin for a CMS; form submission is via an AJAX call, while displaying a BlockUI message over the page. In Firefox and Safari, the BlockUI message appears over the plugin; but in IE,

Re: [jQuery] Checkbox unticked

2007-03-13 Thread Mike Alsup
I use .post to send information to the server. How can I force the checkbox information to be sent even if it is unchecked? I need a generic solution. You won't find a solution that degrades when JavaScript is disabled. You really should modify the server code to process the data correctly.

Re: [jQuery] Get text from selected dropdown option

2007-03-07 Thread Mike Alsup
I can only imagine to make that a little shorter: $('#dropdown').change(function() { $.log( $('option:selected', this).text() ); }); I could imagine making it faster :-) $('#dropdown').change(function() { $.log(this.options[this.selectedIndex].text); });

Re: [jQuery] Firebug and validation plugin--revisted (Was Re: release: Validation plugin beta 1)

2007-03-07 Thread Mike Alsup
After the page is loaded and if I set the breakpoint, it works like I expected. But, if I set the breakpoint and reload the page, it breaks at the breakpoint even while the page is loaded--this is confusing as it looks the event or function is been called even when the page is been getting

Re: [jQuery] html in taconite response

2007-03-07 Thread Mike Alsup
showMsg($(#customer_name input).val()+ order + response.order_id + successfully created. aView order/a); Paul, You do need to use a CDATA block for that code. How did it fail when you tried it? Do you have a sample page? Mike ___ jQuery mailing

Re: [jQuery] html in taconite response

2007-03-07 Thread Mike Alsup
Do I need to wrap the entire eval contents in CDATA, or can I include CDATA around just the function in question? Wrap it all. ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] method chaining (was RE: regular expressions)

2007-03-07 Thread Mike Alsup
http://www.netwise.it/xml/perlmonks/?node_id=417872 Note that in digging this back up, I came across lots of great considered harmful rants, including short circuit OR operator, tabs, AJAX, javascript associative arrays, considered harmful essays, and of course the goto statement. This

Re: [jQuery] Screencast: how to easily use AJAX to submit a form using jQuery

2007-03-06 Thread Mike Alsup
On 3/6/07, Remy Sharp [EMAIL PROTECTED] wrote: A screencast for beginners to jQuery and/or AJAX showing how easy it is to add an AJAX layer to submit a form. Excellent job on that screencast, Remy! Since you end the cast with a note about putting the script into a plugin I would just like to

Re: [jQuery] how to make the function in forms + ajax?

2007-03-01 Thread Mike Alsup
This looks like a question about the validator plugin. You may want to use that in the subject line. rules: { firstname: { required: true }, age: { number: true }, password: { min: 5, max: 32 } }, messages { password: Please enter a password between 5 and 32

Re: [jQuery] jQuery 1.1.2

2007-03-01 Thread Mike Alsup
Please correct me if I'm understanding this the wrong way. Strings are safe. Object references are not. That's correct. It's safe to store primitives in an expando because the aren't reference counted for garbage collection. But objects are trouble. An IE memory leak pattern is as simple as

Re: [jQuery] ANNOUNCE: Thickbox Reloaded alpha

2007-02-28 Thread Mike Alsup
One thing I would really like to see added (which I've done with help my modded version) is circular browsing - 'next' on last image loads first image, and vice versa +1 ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] What's wrong with this code?

2007-02-28 Thread Mike Alsup
Looks like your quotes are wrong: mycfpage.cfm?User_ID= + User_ID ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] taconite question

2007-02-28 Thread Mike Alsup
When I click a navigation link there is a series of cosmetic changes made to the screen. In addition to these interface changes, which occur quite nicely using Taconite, I would usually use a .load() function to load another template into the main div, and this is what confuses me. Should I

Re: [jQuery] taconite question

2007-02-28 Thread Mike Alsup
I always try to combine as many separate operations into a single taconite operation. I'm a noob, so keep that in mind. That's the best way to do it, Nathaniel. Don't make two requests if you can get what you need with one! ___ jQuery mailing list

[jQuery] BlockUI 1.0

2007-02-28 Thread Mike Alsup
I just posted a new version of BlockUI. I bumped the version to 1.0 just for fun. Changes: - Element blocking with messages; you can now have custom messages appear over blocked content when blocking a subset of the page. - Improved settings support; it is now much easier to override the

Re: [jQuery] BlockUI like plugin for divs

2007-02-28 Thread Mike Alsup
. on 02/27/2007 15:04 Mike Alsup said the following: One little question. In order to make the blockUI work while using jQuery in compatibility mode (jQuery rather than $) I had to change all the $ references to jQuery in the plugin to get it working. Is this an issue with my config you think

Re: [jQuery] Multiple Ajax calls and multiple loading... boxes

2007-02-27 Thread Mike Alsup
Hm... Still doesn't sound like fun :) I wish there could be a way to do something like: $.load( $(myid), url, params, { onStart: function(){someLoader.show();}, onEnd: function(){someLoader.hide();} } ); Use

Re: [jQuery] toggling radio buttons

2007-02-27 Thread Mike Alsup
I'd like to write a jQ script which sets all o values (unapproved) to 1 (approved). I thought that one of these two would do it: $([EMAIL PROTECTED]@checked]).val(1); $('[EMAIL PROTECTED]').val('1'); Give this a shot: $(':radio:not(:checked)').attr('checked', true);

Re: [jQuery] ANNOUNCE: Thickbox Reloaded alpha

2007-02-26 Thread Mike Alsup
You can also have a look here (besides repository): http://stilbuero.de/jquery/thickbox_reloaded/ Fantastic, Klaus! This is very jQuery now with the simple usage of $('a').thickbox(). Great, great stuff! ___ jQuery mailing list discuss@jquery.com

Re: [jQuery] Multiple Ajax calls and multiple loading... boxes

2007-02-26 Thread Mike Alsup
$.ajaxStart() is invoked for every ajax call that's made on the page. However, for one ajax call I need to display a loading... in one place, for another ajax call - a loading... in another place and for yet a third ajax call a loading in a third place. How can I do this in jQuery?

Re: [jQuery] Multiple Ajax calls and multiple loading... boxes

2007-02-26 Thread Mike Alsup
This is still like a proctologist performing an eye surgery How so? You have control over everything in the settings object. And you can add any properties to it that you wish. So consider: $.ajax({ url: myUrl, type: 'post', indicatorId: '#indicator3' });

Re: [jQuery] ajaxSubmit not defined

2007-02-25 Thread Mike Alsup
$(function() { // OUTPUT login var login_options = { target: '#output-login' }; $('#login').ajaxForm(login_options); // PUT HERE MORE ajaxForm items... // BUSY state $('div id=busyLoading.../div') .ajaxStart(function() {$(this).show();}) .ajaxStop(function() {$(this).hide();})

Re: [jQuery] blockUI moves content around in IE7

2007-02-25 Thread Mike Alsup
Yeah, it was a quirks mode issue. It's fixed now: http://dev.jquery.com/browser/trunk/plugins/blockUI/jquery.block.js?format=txt On 2/25/07, Mike Alsup [EMAIL PROTECTED] wrote: !DOCTYPE html PUBLIC -//W3C//DTD HTML 4.0 Transitional//EN I think that's a problem with blockUI in quirks mode

Re: [jQuery] BlockUI like plugin for divs

2007-02-23 Thread Mike Alsup
Just an issue/small question though, in Safari, the select-tags gets dimmed for just an instant, and then shine through the block, is this a little bug? Thanks for the feedback, Andreas. I'm using a z-index of 500 for the iframe, perhaps that's not high enough in Safari? Anyone know? The

Re: [jQuery] jqModal r7 release!

2007-02-23 Thread Mike Alsup
http://dev.iceburg.net/jquery/jqModal/ Awesome work, Brice! ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] How do I check for the existence of an object?

2007-02-23 Thread Mike Alsup
if (myObj == 'undefined') myObj = new Object(); I get an error saying the object is not defined. Try this instead: if (typeof myObj = 'undefined') myObj = {}; ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] Running a function when something changes...

2007-02-23 Thread Mike Alsup
The settings object is a new object for each call to $.ajax. You should be able to use this technique. The thing is that I have to run my function each time the element is updated. If I set myTag to 1 on first run, it will never run again. ___

Re: [jQuery] jQuery taconite val()

2007-02-23 Thread Mike Alsup
val selection=#modify input value=abc / That should be written like this: val select=#modify input value=abc / ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] jQuery taconite val()

2007-02-23 Thread Mike Alsup
Mike, here's an interesting quirk. If I try to clear the value (val select=#modify input value= /) Taconite doesn't work. If I insert a value, even a space (val select=#modify input value= /) it does work. Should I use another method to clear the value of an input? That's a bug. I'll get

Re: [jQuery] jQuery taconite val()

2007-02-23 Thread Mike Alsup
That's big news for me, Mike. It marks the first time I've ever been able to blame a bug instead of me when my app is behaving strangely! :) It's fix now, Paul. Have at it! ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] BlockUI like plugin for divs

2007-02-22 Thread Mike Alsup
I'd like to be able to do this sort of thing too. To block just a particular div to indicate that something is happening in regards to *just* that area of the screen, and that the user can continue to work in other I'm going to add this functionality to blockUI since several people have

Re: [jQuery] BlockUI like plugin for divs

2007-02-22 Thread Mike Alsup
a short simple question, give a way for add blockUI to the page when begin to load. Say we have over 20 great images to load, then the images are in the BrowserCache/onPage, all content are On, then unblockUI? understand this? Not really. Are you looking for something different than this?

Re: [jQuery] BlockUI like plugin for divs

2007-02-22 Thread Mike Alsup
I'd like to be able to do this sort of thing too. To block just a particular div to indicate that something is happening in regards to *just* that area of the screen, and that the user can continue to work in other I'm going to add this functionality to blockUI since several people have

Re: [jQuery] Text looks choppy in IE7 with Opacity

2007-02-22 Thread Mike Alsup
I haven't had the chance to test this yet. Can anyone else confirm that setting a background image, even just a 1x1 transparent gif, solves this issue? It doesn't work for me. I just tried applying a bg image to everything and text renders the same ie7 (I tried transparent and opaque). This

Re: [jQuery] Text looks choppy in IE7 with Opacity

2007-02-22 Thread Mike Alsup
http://ov-staging.informationexperts.com/d.htm If I am way off base let me know. Hi Benjamin, The problem with IE7 is with non-bold text. ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] blockUI and CPU intensive form processing

2007-02-21 Thread Mike Alsup
That's a problem. I see what you're doing, and I understand why you're doing it, but I don't know of any way to force the browser to render changes while you've got the current thread pinned. You really need async behavior to make this work, but that's not an option for you in your use case. I

Re: [jQuery] blockUI and CPU intensive form processing

2007-02-21 Thread Mike Alsup
RCS Computers schrieb: Thank you. That is actually what I am doing. However, when I do that, I lose track of which button submitted the form (the server side code uses the button that was clicked to determine its action). I am trying to work this out right now. Ok. As there doesn't

Re: [jQuery] blockUI and CPU intensive form processing

2007-02-21 Thread Mike Alsup
A reference to the submitting element is temporarily stored on the form element in the 'clk' variable when using ajaxForm. Oops, sorry. When I was writing that I was thinking that ajaxForm was being used. Ignore me! ___ jQuery mailing list

Re: [jQuery] Text looks choppy in IE7 with Opacity

2007-02-21 Thread Mike Alsup
This bug used to be fixable by applying a background color but not anymore (that I know of anyways). Not that I know of either (but I want to know!) I had this problem with the tabs plugin in ie7 and had to chop some stuff out to get around it. Mike

Re: [jQuery] Rounded corners question

2007-02-20 Thread Mike Alsup
the text elements within the DIV inner get disassociated from the parent form -- that is, when I submit the form, the elements are no longer a part of them. Here is the HTML for one of my DIVs. The text element PM16033-1497 is getting dropped from the form. Any advice on how to overcome

Re: [jQuery] jquery form plugin

2007-02-19 Thread Mike Alsup
Hi Tim, Do you have a sample page? fieldValue should never return undefined for a password field. You can see examples of fieldValue in action on this page: http://www.malsup.com/jquery/form/#fields Mike I have tryed this and if I use alert, the value is undefined. The form has both name

Re: [jQuery] jquery form plugin

2007-02-19 Thread Mike Alsup
I am trying to get the value of a name field - below is part of the form and the JS Tim, First, don't use ajaxForm and ajaxSubmit together. Pick one or the other. ajaxForm is almost always the best one to choose. Try this: html head script type=text/javascript src=jquery-1.1.1.js/script

Re: [jQuery] jquery form plugin

2007-02-19 Thread Mike Alsup
Thank you very much Mike, ill try that later. One last thing, if i want the form to be submitted by an html link rather than a submit button how do i do that ? Tim, That's a case when you would use ajaxSubmit instead of ajaxForm because you want to submit the form in response to the anchor's

Re: [jQuery] textarea newline jquery form

2007-02-19 Thread Mike Alsup
I'm having some problems with the jquery form plugin. I'm taking input from a textarea and sending it to a mysql db with an ASP script. If I enter this text: Some Data sent via ajax is encoded in UTF-8 (using JavaScript's encodeURIComponent function). If you require a different encoding you

Re: [jQuery] Forms Plugin: target scripts evaluated TWICE

2007-02-16 Thread Mike Alsup
I've noticed that scripts are evaluated twice if they're included in the responseText loaded via the Form's plugin target parameter -- using jQuery 1.1.1 Thanks, Brice. I'll have a look. ___ jQuery mailing list discuss@jquery.com

Re: [jQuery] Forms Plugin: target scripts evaluated TWICE

2007-02-16 Thread Mike Alsup
I've got a fix for this. I'll upload it tonight. Mike On 2/16/07, Mike Alsup [EMAIL PROTECTED] wrote: I've noticed that scripts are evaluated twice if they're included in the responseText loaded via the Form's plugin target parameter -- using jQuery 1.1.1 Thanks, Brice. I'll have

Re: [jQuery] Form Plugin curiosity

2007-02-16 Thread Mike Alsup
plain text. I'm wondering if this is related to the issue with the plugin sending info twice (one of the other threads going around right now). The plugin does not send data twice. The other thread was about returned scripts being evaluated twice. Your code is encrypting the data that the

Re: [jQuery] Forms Plugin: target scripts evaluated TWICE

2007-02-16 Thread Mike Alsup
This is fixed in svn; unit tests updated too. Good catch, guys! Mike On 2/16/07, Benjamin Sterling [EMAIL PROTECTED] wrote: Thanks Mike. On 2/16/07, Mike Alsup [EMAIL PROTECTED] wrote: I've got a fix for this. I'll upload it tonight. Mike

  1   2   3   4   5   >