Re: [jQuery] jQuery Design Decisions? Comparison to MooTools?
Mr. Kruse, I'd like to take a minute to respond to your well thought out post. Item 6 is the only one I think I can speak authoritatively on. I'm a msdn.microsoft.com/vfoxpro/ Visual Foxpro developer working at a multi location clinic developing intranet applications that fill the gaps left by our commercial software. While Foxpro is not traditionally a web app, I use a http://www.west-wind.com server side framework that is a joy to use. When it came to a client side framework, my choices were not so clear cut. At first I searched for specific widgets. Tabs, ajax, panels, etc. I ended up with 30+ javascript files in my html. Side note: Yeah I know, bad programmer, no donuts. Anyways, while looking for one that does it all I tried moo, prototype, scriptaculous (sp?), and YUI. None of them spoke to me as a programmer. jQuery was the only one that had it all. And to boot, a community unlike any other. I did more with jQuery in one afternoon then I could any of the other javascript frameworks. To be fair, I even tried your ajax toolbox and was left scratching my head. jQuery makes my sites come alive faster, easier, and cleaner then ever before. I think the logic of it will make it very easy for your team, no matter their background. Good luck on your future projects. Shaun Kester SKfox.net Matt Kruse wrote: > > Finally, can anyone comment on introducing jQuery into a team of web > developers with low to moderate javascript experience, building webapps or > web sites that could run into the millions of dollars? Is jQuery robust > enough and easy enough to deploy that it's an easy win? > -- View this message in context: http://www.nabble.com/jQuery-Design-Decisions--Comparison-to-MooTools--tf3218550.html#a8949022 Sent from the JQuery mailing list archive at Nabble.com. ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] the best way to get live data
I use http://www.jasons-toolbox.com/JHeartbeat/ jHeartbeat for such a thing. montare wrote: > > We have several industrial weight scales that report their measurements to > a > database every 5 seconds. Is there an efficient way I can use jQuery to > pull this data into a div on my page every 5 seconds so my app always > shows > the most recent scale reading? > > > > -Paul > > > ___ > jQuery mailing list > discuss@jquery.com > http://jquery.com/discuss/ > > -- View this message in context: http://www.nabble.com/the-best-way-to-get-live-data-tf3196815.html#a8877292 Sent from the JQuery mailing list archive at Nabble.com. ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] Basic Sound Alert System
Perhaps the jMP3 plugin at http://www.sean-o.com/jquery/jmp3/ HTH, Shaun Danial Tzadeh wrote: > > I already know SM 2 and I had worked with it before. But I don't want to > load 20k+ code on each page for just a &%!? beep sound :) > It came to me like a simple jQuery plugin and maybe someone has done it > already? > > Thanks > Danial > -- View this message in context: http://www.nabble.com/Basic-Sound-Alert-System-tf3143894.html#a8719321 Sent from the JQuery mailing list archive at Nabble.com. ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] ajax file upload
Not a problem, I'm no JS master like a lot of people here. I just saw your post and gave it a quick reply. Here are some resources I found while working on file uploads. http://ajaxian.com/archives/swfupload-a-nicer-file-upload-experience Flash upload that degrades well https://sourceforge.net/search/?type_of_search=soft&words=uploader Uploading at Sourceforge http://developer.apple.com/internet/webcontent/iframe.html Remote scripting with iframes http://encodable.com/uploaddemo/ File Chucker Shaun Kester -- [EMAIL PROTECTED] http://www.skfox.net II wrote: > > Shaun, > > Apologies for the silly request but im a newbie with this stuff, do you > have any example code on how to use iframe in this way. > > Many thanks > > Ismail > -- View this message in context: http://www.nabble.com/ajax-file-upload-tf2653865.html#a7406299 Sent from the JQuery mailing list archive at Nabble.com. ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] ajax file upload
For security reasons, ajax doesn't support file uploads. To get close to the same effect, consider posting to a hidden iframe or flash for your file uploads. HTH, Shaun II wrote: > > Guys, > > I am having a problem doing ajaxform post. I have form > > > > also I have file input > > > > my jquery code looks something like this > > var options = { url: 'asp/main.asp?Method=UploadFile', after: > uploadImage > }; > > $('#main').submit(function() { > // submit the form via ajax >$(this).ajaxSubmit(options); > // always return false to prevent standard browser submit > return false; > }); > > > The form submits and goes to target page but nothing is uploaded. when i > do normal submit post without jquery the file is uploaded. Anyone any > ideas suggestions?? > > For brevity my asp upload code looks something like this > If Request.TotalBytes > 0 Then > > Set objUpload = New vbsUpload > For lngLoop = 0 to objUpload.Files.Count - 1 > 'If accessing this page annonymously, > 'the internet guest account must have > 'write permission to the path below. > objUpload.Files.Item(lngLoop).Save IMAGEDIR > Response.Write IMAGEDIR & "\" & objUpload.Files.Item(lngLoop).FileName > Next > > Else > Response.write("Error: nothing to upload") > End if > > It looks like a proper post is not being done? > -- View this message in context: http://www.nabble.com/ajax-file-upload-tf2653865.html#a7405087 Sent from the JQuery mailing list archive at Nabble.com. ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] A question about ajaxStart and Stop
I created a JS file on my server to contain my start/stop/post/get etc. I works with Rev. 249, not sure it will work with yours. Feel free to take a look to see how I did it. http://www.skfox.net/jquery/jAjax.js Hope that helps. ztamizzen wrote: > > I have tried to get it to work and I am not sure that I am using it right > so > if anyone could explain to me how I am supposed to use it? > Where do I initilize it, what do I attach it to? > > It just will not work for me. I am using jQuery 1.0.2 Rev: 413 > > -- > If there's anything more important than my ego around, I want it caught > and > shot now. > -- Zaphod > > ___ > jQuery mailing list > discuss@jquery.com > http://jquery.com/discuss/ > > -- View this message in context: http://www.nabble.com/A-question-about-ajaxStart-and-Stop-tf2490963.html#a6964482 Sent from the JQuery mailing list archive at Nabble.com. ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] Bug with AjaxStart
I feel your pain, same here. According to this http://jquery.com/dev/bugs/bug/265/ bug , it has been fixed in SVN. I can only assume this means that it will be fixed in the next release. Mike Chabot wrote: > > A bug was introduced somewhere between version 249 and 419 that broke > the AjaxStart / AjaxStop functions. I was displaying a loading image > using code straight out of the API doc that stopped working as soon as > I put in a the current JQuery file. > $("#loading").ajaxStart(function(){ $(this).show(); }); > $("#loading").ajaxStop(function(){ $(this).hide(); }); > If I change the function to be a simple alert, the alert does not fire > either, which indicates that it is a problem with the ajaxStart call > and not the show/hide calls. > > -Mike Chabot > > ___ > jQuery mailing list > discuss@jquery.com > http://jquery.com/discuss/ > > -- View this message in context: http://www.nabble.com/Bug-with-AjaxStart-tf2461732.html#a6862750 Sent from the JQuery mailing list archive at Nabble.com. ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] Append body
You were right on the money! It works now. Thank you very much! Luke Lutman wrote: > > Are you running your code before the dom is ready? > > Try this: > > $(document).ready(function(){ > $("body").append('...'); > }); > > > Luke > > -- > zinc Roe Design > www.zincroe.com > (647) 477-6016 > > > sdkester wrote: >> Thank you for the suggestion. I tried that and get an operation aborted >> error >> from IE and it won't let me load the page. Any other ideas? >> >> >> Klaus Hartl wrote: >>> >>> >>> sdkester schrieb: >>>> I tried appending the with a div using the following in a js >>>> file: >>>> >>>> $("body").append(' >>>> ../../loading2.gif >>>> '); >>>> >>>> It is not working. Maybe I'm going about it wrong. I simply want to >>>> insert >>>> the above html anywhere in the body. Is my code wrong and/or am I >>>> approching >>>> it from the wrong angle. >>> I once had strange problems with 'body' in IE. The following then worked >>> for me: >>> >>> $(document.body).append( ... ); >>> >>> >>> -- Klaus >>> >>> ___ >>> jQuery mailing list >>> discuss@jquery.com >>> http://jquery.com/discuss/ >>> >>> >> > > ___ > jQuery mailing list > discuss@jquery.com > http://jquery.com/discuss/ > > -- View this message in context: http://www.nabble.com/Append-body-tf2419689.html#a6758540 Sent from the JQuery mailing list archive at Nabble.com. ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] Append body
Thank you for the suggestion. I tried that and get an operation aborted error from IE and it won't let me load the page. Any other ideas? Klaus Hartl wrote: > > > > sdkester schrieb: >> I tried appending the with a div using the following in a js file: >> >> $("body").append(' >> ../../loading2.gif >> '); >> >> It is not working. Maybe I'm going about it wrong. I simply want to >> insert >> the above html anywhere in the body. Is my code wrong and/or am I >> approching >> it from the wrong angle. > > I once had strange problems with 'body' in IE. The following then worked > for me: > > $(document.body).append( ... ); > > > -- Klaus > > ___ > jQuery mailing list > discuss@jquery.com > http://jquery.com/discuss/ > > -- View this message in context: http://www.nabble.com/Append-body-tf2419689.html#a6758146 Sent from the JQuery mailing list archive at Nabble.com. ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Append body
I tried appending the with a div using the following in a js file: $("body").append(' ../../loading2.gif '); It is not working. Maybe I'm going about it wrong. I simply want to insert the above html anywhere in the body. Is my code wrong and/or am I approching it from the wrong angle. TIA, Shaun Kester -- View this message in context: http://www.nabble.com/Append-body-tf2419689.html#a6746057 Sent from the JQuery mailing list archive at Nabble.com. ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/