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/
to any other part of the code. And thanks to
Ivan Kurmanov, this version includes a couple minor bug fixes too.
Mike
On 3/31/07, Ⓙⓐⓚⓔ [EMAIL PROTECTED] wrote:
Mike,
I compared the old code to the new... it sure looks 100% compatible.
Assuming I am testing the image upload code with my pages
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
executed.
Mike
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
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
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
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
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/
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
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
Have a look at the hover() function it does exactly what you are looking
for.
Actually, it doesn't. hover() expects two different functions. From the API
I think David meant look at the actual implementation.
___
jQuery mailing list
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
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
no file is chosen.
I tried a recent build of Webkit and everything worked fine.
Interesting. Thanks for the feedback, Roger. I suspect there must be
a script error occurring on the page. Did Safari indicate that an
error occurred?
Mike
___
jQuery
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
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
/
Mike
On 3/26/07, Rick Faircloth [EMAIL PROTECTED] wrote:
Hey, Mike... or some else...
Can taconite be used to change a form field value, say from
false to true, or will it only change element content?
Rick
___
jQuery mailing list
discuss
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.
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/
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?
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
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
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
that a
requirement I decided to make it optional. So if you are returning
complex json or script you *should* include it in a textarea like so:
textarea
{
name: mike,
message: function() { if (x y) alert('yo!'); }
}
/textarea
- or -
textarea
for (var i=0; i max; i
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
http
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
plugin.
Cheers!
Mike
On 3/23/07, Alexandre Plennevaux [EMAIL PROTECTED] wrote:
Bouhouhou, nobody likes my file upload plugin with progress bar , bouhouhouh
:)
Mike, works perfect here, winxpSP2 FF2.0.0.3
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf
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:
http://jibbering.com/faq
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
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
Chris, I just had that bug happen again this morning but this time I
*think* that I've really fixed it! SVN has been updated.
Mike
On 3/20/07, Christopher Jordan [EMAIL PROTECTED] wrote:
Sure Mike! Thanks and I'm sorry I never got a publicly accessible
example up and going. Work is crazy
into the
end of the ajaxSubmit method in a function called fileUpload.
Mike
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
was hoping Safari would cooperate since FF, IE and Opera seem to
play nicely. I'll keep digging into it (although it's difficult
without a Mac), but the safest way around this is to return text or
html responses when submitting the form and that's probably the 90%
use case anyway.
Mike
On 3/22
. These aren't currently documented so check
the source code for details.
Mike
On 3/22/07, amircx [EMAIL PROTECTED] wrote:
hey... my brother did some tweak to the jqupload script :
http://tal.tl/javascript/my-jquploader-upload-images-php-ajax-flash.html
is it possible to integrate
Thanks, John. The implementation was mostly borrowed from YUI,
although dojo's impl is the same in priciple. But jQuery's global
events make this nice because the behavior is consistent with an XHR
call. I like the fact that blockUI, or any other activity indicator,
works as expected.
Mike
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
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
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
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
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://dev.jquery.com/browser/trunk/plugins/blockUI/jquery.block.js?format=txt
Thanks.
Mike
On 3/19/07, Christopher Jordan [EMAIL PROTECTED] wrote:
I'll try
// 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
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
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
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:
Well, I knew he meant crashes. :oP
I just wanted the crash specifics. I posted a problem a few
I done a bit of digging around in the interface code, fix by the following:
Line 253 of idrag.js, change from:
{x:0,y:0},
to:
jQuery.iUtil.getPosition(elm.parentNode),
Mike Holloway wrote:
Hi,
I have exactly the same problem, have several dl lists and trying to
order the dd's within
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
Can you give us a url to look at?
What could be the problem?
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
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?
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
help,
George.
George,
The form plugin does not currently support file uploads.
Mike
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
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
function is to
provide ajax capabilities. I'd be glad to help if you found it
confusing or if you have questions about it.
Mike
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
the data is unicode and the content type is
application/x-www-form-urlencoded.
On the other thread, Jack posted a nice example of how he uses a timer
to submit a form periodically. The key is to invoke ajaxSubmit in
response to the timer event.
Mike
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.
, the ActiveX control remains on top and hides the BlockUI
message, remaining clickable.
I thought maybe something with an iframe, but not sure what...
Seb,
blockUI uses an iframe at z-index 1000. Is there a url where I can
see the problem?
Mike
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.
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);
});
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
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
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/
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
be used instead of
escape (and it should be used on both the name and value).
I realize your demo was about how easy it is to ajaxify a form, and
you did an awesome job demonstrating that. I just wanted to follow up
with some additional info.
Cheers!
Mike
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
as this:
var o = document.getElementById('A');
document.getElementById('A').myprop = o;
Jack Slocum has a good blog entry on avoiding memory leaks:
http://www.jackslocum.com/blog/2006/10/02/3-easy-steps-to-avoid-javascript-memory-leaks/
Mike
___
jQuery
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/
Looks like your quotes are wrong:
mycfpage.cfm?User_ID= + User_ID
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
('myTaconiteDoc', function() {
// make another remote call
$('#whatever').load('stuff.php');
});
or you could put the other remote call within the taconite document:
eval$('#whatever').load('stuff.php');/eval
or, if possible, just return what you know you need in the original
document! :-)
Mike
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
/blockUI/jquery.block.js?format=txt
Mike
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
Hi Raymond,
I'm using jQuery in non-conflict mode on my demo page now (with v1.0
of blockUI). It's working fine.
Mike
On 2/28/07, Raymond Auge [EMAIL PROTECTED] wrote:
Thanks Mike.
Raymond Auge [EMAIL PROTECTED]
Software Engineer
Liferay, Inc.
Enterprise. Open Source. For Life
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
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);
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
, settings) {
// your code
});
Mike
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
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'
});
();})
.appendTo('body');
});
}
---
but it only works on Firefox, Opera and IE are not compatible with it
Can you explain that last statement? That code works on Opera and IE.
Mike
___
jQuery mailing list
discuss@jquery.com
http://jquery.com
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
? The
full page blocking uses an iframe with z-index of 1000. Does that
example work in Safari?
Mike
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
http://dev.iceburg.net/jquery/jqModal/
Awesome work, Brice!
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
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/
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.
___
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/
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
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/
requested it. I'll post a note when it's ready (probably
tonight).
Mike
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
this?
$(document).ready($.blockUI);
$(window).load($.unblockUI);
Mike
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
and docs can be found here:
http://malsup.com/jquery/block/block.html
Source code is here:
http://dev.jquery.com/browser/trunk/plugins/blockUI/jquery.block.js?format=txt
Most of the logic for this update comes from Brandon Aaron's bgiframe
plugin. Thanks, Brandon!
Mike
). This was using the tabs plugin which sets opacity and filter
styles. Initially everything looks great, but once you switch to a
different tab the text rendering is nasty. To make it work properly I
comment out the lines that set opacity and filters (since I don't need
those features).
Mike
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/
don't have an answer for this. Anyone have any ideas?
Mike
On 2/21/07, RCS Computers [EMAIL PROTECTED] wrote:
Basically, I have some CPU intensive form validation that takes about 3
seconds to complete. I would like blockUI to start before the form
processing and stop after the form
' variable when using ajaxForm.
Mike
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
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
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
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
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
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
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
will need to convert it on the server (ie: before updating the db).
Mike
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
Hi,
I have exactly the same problem, have several dl lists and trying to order
the dd's within, but contain each set to their respective dl's
I have this JS:
function serialize(s){
serial = $.SortSerialize(s);
alert(serial.hash);
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
1 - 100 of 487 matches
Mail list logo