[jQuery] Re: datePicker v2 beta
Is there any particular reason why your plugin doesn't have an option for specifying time as well as date? I'd like to use this plugin but need time functionality. On Apr 24, 7:54 pm, Kelvin Luck [EMAIL PROTECTED] wrote: Hi, I'd like to announce the beta release of v2 of my datePicker plugin for jQuery. This release is a complete rewrite which makes the date picker considerably more powerful and flexible than it previously was. Check out the temporary project page: http://kelvinluck.com/assets/jquery/datePicker/v2/demo/ Note, this is currently in beta and may be a little rough around the edges but I'd love to get some feedback. I've tested in FF2, IE6 and Opera 9 but it would be good to know if it works in other browsers (particulaly Safari). Plus any other feedback on extra stuff you'd like adding or bugs you discover, Cheers, Kelvin :)
[jQuery] Re: datePicker v2 beta
Hi Kelvin, The evolution is wondelful! It's a great and useful plugin. Thanks for your job! Xavier On Apr 24, 11:54 am, Kelvin Luck [EMAIL PROTECTED] wrote: Hi, I'd like to announce the beta release of v2 of my datePicker plugin for jQuery. This release is a complete rewrite which makes the date picker considerably more powerful and flexible than it previously was. Check out the temporary project page: http://kelvinluck.com/assets/jquery/datePicker/v2/demo/ Note, this is currently in beta and may be a little rough around the edges but I'd love to get some feedback. I've tested in FF2, IE6 and Opera 9 but it would be good to know if it works in other browsers (particulaly Safari). Plus any other feedback on extra stuff you'd like adding or bugs you discover, Cheers, Kelvin :)
[jQuery] Re: Form Validation Plugin
Jon, Karl - I am facing a strange issue today. After pushing to a production environment only for FF 2.0.0.3, the validate plugin is not working. It works fine in IE 6 7. It works fine locally as well. I had put the validate code inside $(document).ready but seems like there is a problem with that in FF. When I put a break point inside of it, to give it some breather, it starts to work fine in FF as well. And no I am not clicking immediately on page load. I am giving it enough time. I am just wondering how reliable this $(document).ready is? On 5/18/07, Jörn Zaefferer [EMAIL PROTECTED] wrote: Karl Swedberg wrote: BTW, would anyone be interested in a short write up on this or the info on the plugin page is fine for everyone to understand? As I had some difficulties in catching up with it (coming from the prototype world), I thought I'll whip something up real fast. Thoughts? The more information that's the better it is for everyone. I'm sure you're information will be of help to lots of people. -Dan Absolutely! I agree with Dan. Besides, I've never heard anyone complain about too much documentation. ;-) Okok, I'll try to add that to the plugin page. So what did we learn here? Plugin is only 6k packed and you should quote the keys in the rules-object, right? Btw., I've received a response on the select issues on Opera. Seems like its something that Klaus has been praying for quite some time now: http://dev.opera.com/articles/view/making-legacy-pages-work-with-web-forms/ Great to have to be abled to fix that at last. -- Jörn Zaefferer http://bassistance.de
[jQuery] Re: Help Test jQuery 1.1.3
Hi, It would be very nice if bug #1143 could be fixed because it is a major blocker for WYMeditor (MSIE version) to generate correct XHTML. A fix is proposed (commenting out one line), and seems to work fine (also tested with 1.1.3a). http://dev.jquery.com/ticket/1143 Thank you, Jean-François http://www.wymeditor.org/
[jQuery] I want to know what wiki software jQuery site use
It's very interesting to me. I want to use it in my website. Great thanks.
[jQuery] Streaming information from a server
I have a server application where I start a long running process and want to give the user feedback on how it is progressing. I need the server process to send information every few seconds. I have had a look at heartbeat and rss but both of these need the client to make the requests. I want the server to send the information without it being requested. Does anyone have a suggestion as to how I can do this? Thanks Peter
[jQuery] Re: datePicker v2 beta
pd wrote: Is there any particular reason why your plugin doesn't have an option for specifying time as well as date? I'd like to use this plugin but need time functionality. Because I'd like to keep the plugin as light weight as possible (it's already bigger than it should ideally be) and personally I have never had the need for a time/date selector while I have needed a date selector many times... Sam Collett was working on a time picker a while back - maybe you can use the two plugins together? http://www.texotela.co.uk/code/jquery/timepicker/ Hope that helps, Kelvin :)
[jQuery] Re: Streaming information from a server
Using setInterval to launch a check process at regular intervals? -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of peter Sent: lundi 21 mai 2007 9:58 To: jQuery (English) Subject: [jQuery] Streaming information from a server I have a server application where I start a long running process and want to give the user feedback on how it is progressing. I need the server process to send information every few seconds. I have had a look at heartbeat and rss but both of these need the client to make the requests. I want the server to send the information without it being requested. Does anyone have a suggestion as to how I can do this? Thanks Peter Ce message Envoi est certifié sans virus connu. Analyse effectuée par AVG. Version: 7.5.467 / Base de données virus: 269.7.6/813 - Date: 20/05/2007 7:54
[jQuery] Re: Form Validation Plugin
Anyone? The FF 2.0.3 is becoming a big issue for me now. On 5/21/07, Mandy Singh [EMAIL PROTECTED] wrote: Jon, Karl - I am facing a strange issue today. After pushing to a production environment only for FF 2.0.0.3, the validate plugin is not working. It works fine in IE 6 7. It works fine locally as well. I had put the validate code inside $(document).ready but seems like there is a problem with that in FF. When I put a break point inside of it, to give it some breather, it starts to work fine in FF as well. And no I am not clicking immediately on page load. I am giving it enough time. I am just wondering how reliable this $(document).ready is? On 5/18/07, Jörn Zaefferer [EMAIL PROTECTED] wrote: Karl Swedberg wrote: BTW, would anyone be interested in a short write up on this or the info on the plugin page is fine for everyone to understand? As I had some difficulties in catching up with it (coming from the prototype world), I thought I'll whip something up real fast. Thoughts? The more information that's the better it is for everyone. I'm sure you're information will be of help to lots of people. -Dan Absolutely! I agree with Dan. Besides, I've never heard anyone complain about too much documentation. ;-) Okok, I'll try to add that to the plugin page. So what did we learn here? Plugin is only 6k packed and you should quote the keys in the rules-object, right? Btw., I've received a response on the select issues on Opera. Seems like its something that Klaus has been praying for quite some time now: http://dev.opera.com/articles/view/making-legacy-pages-work-with-web-forms/ Great to have to be abled to fix that at last. -- Jörn Zaefferer http://bassistance.de
[jQuery] How to handle Pseudo leak in IE?
Hi all, I'm dealing with the IE memory problem. There is an IE leak called 'pseudo leak', where removeChild() is not really removing child from memory. It is pseudo because it would be cleared after refresh. (some detail: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/IETechCol/dnwebgen/ie_leak_patterns.asp ) However, my app is not page-driven, it would stay on same page and refreshing ajax call, refreshing table rows, etc. So the memory would just keep raising by the pseudo leak. It is said in some site that by setting innerHTML = would prevent the leak. So I try to do something like: $(tbody) .find(*).unbind().end() //unbinding all handler to prevent another closure leak .find(td,tr).html().remove().end() //setting html = and remove itself .html(); //setting tbody html to empty I use IESieve (http://home.wanadoo.nl/jsrosman/) to check for the the dom object creation but it just keep increasing. Is there anyone try to tackle this 'leak' before? -- Best Regards, Jacky 網絡暴民 http://jacky.seezone.net
[jQuery] Re: Streaming information from a server
Hi, On May 21, 10:58 am, peter [EMAIL PROTECTED] wrote: I have a server application where I start a long running process and want to give the user feedback on how it is progressing. I need the server process to send information every few seconds. I have had a look at heartbeat and rss but both of these need the client to make the requests. I want the server to send the information without it being requested. Does anyone have a suggestion as to how I can do this? Keyword is Comet. Check out these links: http://ajaxpatterns.org/HTTP_Streaming http://alex.dojotoolkit.org/?p=545 http://cometd.com Jan
[jQuery] Re: Form Validation Plugin
I have nailed down the issue, but I will open a separate thread to track that as it's a bigger issue. Stay Tune..but please reply. On 5/21/07, Mandy Singh [EMAIL PROTECTED] wrote: Anyone? The FF 2.0.3 is becoming a big issue for me now. On 5/21/07, Mandy Singh [EMAIL PROTECTED] wrote: Jon, Karl - I am facing a strange issue today. After pushing to a production environment only for FF 2.0.0.3, the validate plugin is not working. It works fine in IE 6 7. It works fine locally as well. I had put the validate code inside $(document).ready but seems like there is a problem with that in FF. When I put a break point inside of it, to give it some breather, it starts to work fine in FF as well. And no I am not clicking immediately on page load. I am giving it enough time. I am just wondering how reliable this $(document).ready is? On 5/18/07, Jörn Zaefferer [EMAIL PROTECTED] wrote: Karl Swedberg wrote: BTW, would anyone be interested in a short write up on this or the info on the plugin page is fine for everyone to understand? As I had some difficulties in catching up with it (coming from the prototype world), I thought I'll whip something up real fast. Thoughts? The more information that's the better it is for everyone. I'm sure you're information will be of help to lots of people. -Dan Absolutely! I agree with Dan. Besides, I've never heard anyone complain about too much documentation. ;-) Okok, I'll try to add that to the plugin page. So what did we learn here? Plugin is only 6k packed and you should quote the keys in the rules-object, right? Btw., I've received a response on the select issues on Opera. Seems like its something that Klaus has been praying for quite some time now: http://dev.opera.com/articles/view/making-legacy-pages-work-with-web-forms/ Great to have to be abled to fix that at last. -- Jörn Zaefferer http://bassistance.de
[jQuery] Problem with $(document).ready in FF 2.0.0.3 when dom is malformed
Hello John et al, While working on the Validation Plugin provided by jquery, I had a very strange issue with $(document).ready() which was not firing my functions in FF 2.0.0.3. Whenever I put a setTimeout call with 500 ms delay inside of it, it worked fine. Which made me think if doconReady is unreliable. Checking my code further, there was some external elements in the page that came with their own html/head tags (ie they were redefined in the page making the dom corrupt). Because of this case, I was facing issues in FF. Probably firefox is stricter when it comes to malformed DOM? Whatever be the case, could someone look into this? Have a test page where you have normal flow but then towards the end after /body you have another html/head/body..which is not closed. This can happen due to ads, etc... Thanks, Mandy.
[jQuery] Re: Help Test jQuery 1.1.3
Well, I've replied to Brandon (by email) that his fix didn't work: the mergenum attr simply becomes $mergenum in the resultant HTML code. Using other variable names (such as 'mytest') doesn't fix the problem. Using the code you propose (this.mergeNum = null;) generates mergenum=null attributes to each matched element. The mergenum attributes aren't the only problem - in some cases designMode will generate extra DIVs to handle them (e.g. in lists), so the code produced by WYMeditor quickly becomes horrible in MSIE.
[jQuery] Re: Help Test jQuery 1.1.3
Jean-Francois Hovinne ha scritto: Well, I've replied to Brandon (by email) that his fix didn't work: the mergenum attr simply becomes $mergenum in the resultant HTML code. Using other variable names (such as 'mytest') doesn't fix the problem. Using the code you propose (this.mergeNum = null;) generates mergenum=null attributes to each matched element. You can try delete(this.mergeNum) Renato
[jQuery] Documentation mirror
I can't get at the jAuery documentation at jquery.com because of some kind of database issue. Is there a mirror for the documentation?
[jQuery] Introduction to CRM
Hi All, I just found a link which seems to be quite informative about CRM. Just try the link below to have a look at it. http://www.quazen.com/Business/Management/Introduction-to-CRM.25530 This contains the basics of CRM. I really loved this article. Thanks, Ankur
[jQuery] Re: Documentation mirror
I have a list of a few: http://webdevel.blogspot.com/2007/01/jquery-documentation.html On May 21, 12:07 pm, Gordon [EMAIL PROTECTED] wrote: I can't get at the jAuery documentation at jquery.com because of some kind of database issue. Is there a mirror for the documentation?
[jQuery] Re: Introduction to CRM
Spam spam spam spam spam spam spam spam spam spam spam spam spam chips and spam On May 21, 12:13 pm, Ankur [EMAIL PROTECTED] wrote: Hi All, I just found a link which seems to be quite informative about CRM. Just try the link below to have a look at it. http://www.quazen.com/Business/Management/Introduction-to-CRM.25530 This contains the basics of CRM. I really loved this article. Thanks, Ankur
[jQuery] How do this?
I want to exibe a loading animation before my site load full, but we only use the functions of jQuery when the DOM is ready, exist another method to do this?? Remeber its before the document.ready -- []´s Jean www.suissa.info Ethereal Agency www.etherealagency.com
[jQuery] Re: Help Test jQuery 1.1.3
Thanks for your help. Actually, I can remove the attribute using removeAttr, but the extra DIVs remain (for example if you create inline elements in lists). IMHO, as the problem only occurs in MSIE - no mergeNum issue in Gecko nor in Opera - I'm rather thinking about a browser specific issue. Thanks again, Jean-François
[jQuery] Re: Problem with $(document).ready in FF 2.0.0.3 when dom is malformed
Unfortunately coding against a malformed DOM is unpredictable. I would highly suggest forcing external elements (ads, etc) into iframes to prevent the malformed DOM. -- Brandon Aaron On 5/21/07, Mandy Singh [EMAIL PROTECTED] wrote: Hello John et al, While working on the Validation Plugin provided by jquery, I had a very strange issue with $(document).ready() which was not firing my functions in FF 2.0.0.3. Whenever I put a setTimeout call with 500 ms delay inside of it, it worked fine. Which made me think if doconReady is unreliable. Checking my code further, there was some external elements in the page that came with their own html/head tags (ie they were redefined in the page making the dom corrupt). Because of this case, I was facing issues in FF. Probably firefox is stricter when it comes to malformed DOM? Whatever be the case, could someone look into this? Have a test page where you have normal flow but then towards the end after /body you have another html/head/body..which is not closed. This can happen due to ads, etc... Thanks, Mandy.
[jQuery] Re: jQuery PNG Fix
thanks for this excellent plugin!
[jQuery] Re: callback
Welcome to jQuery! Could you provide some more context to your question? I'm a little confused as to what you are asking about. In general callbacks are used in order to keep things synchronized. Especially things like AJAX and FX. Without callbacks we wouldn't easily be able to know when those items where done executing. -- Brandon Aaron On 5/21/07, james_027 [EMAIL PROTECTED] wrote: Hi, I am welcoming myself to Jquery, and I am glad that I give myself a chance to try jquery. The documentation and tutorials which many seems to ignore is one of the things that makes me to go for jquery for my javascript ajax need. Upon finishing the How jQuery Works, I want to learn why callback should be executed after the parent. As a newbie to javascript/jQuery, I am expecting that the callback should be executed first before the parent. What is the reason or logic behind, and should this be the case everytime? Thanks James
[jQuery] Re: How to handle Pseudo leak in IE?
If you could create a ticket and a test case for this it would help a lot! I believe I could find some time to investigate it in detail soon. -- Brandon Aaron On 5/21/07, Jacky [EMAIL PROTECTED] wrote: Hi all, I'm dealing with the IE memory problem. There is an IE leak called 'pseudo leak', where removeChild() is not really removing child from memory. It is pseudo because it would be cleared after refresh. (some detail: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/IETechCol/dnwebgen/ie_leak_patterns.asp ) However, my app is not page-driven, it would stay on same page and refreshing ajax call, refreshing table rows, etc. So the memory would just keep raising by the pseudo leak. It is said in some site that by setting innerHTML = would prevent the leak. So I try to do something like: $(tbody) .find(*).unbind().end() //unbinding all handler to prevent another closure leak .find(td,tr).html().remove().end() //setting html = and remove itself .html(); //setting tbody html to empty I use IESieve (http://home.wanadoo.nl/jsrosman/ ) to check for the the dom object creation but it just keep increasing. Is there anyone try to tackle this 'leak' before? -- Best Regards, Jacky 網絡暴民 http://jacky.seezone.net
[jQuery] Re: jQuery PNG Fix
Hi Devin, Good to hear, and thank you all for your help and support :) --Kush Devin Torres wrote, On 5/21/2007 10:15 PM: Kush, Go ahead and add Study Breaks Magazine (http://studybreaks.com/) to your site's using this plugin list. :-) It seems my original question spurred everyone into a frenzy to reinterest people in the problem again. I'll be working on your plugin from now on, and submit any changes I make back to you. -Devin On 5/21/07, weepy [EMAIL PROTECTED] wrote: Ah yes it seems to assume that the transparency is either 0 or 1if the element opacity is not 1 Not sure how to fix this. On May 20, 3:28 pm, Glen Lipka [EMAIL PROTECTED] wrote: If you have a PNG-24 with some transparency on it. Then use $(img.png).fadeIn(slow) It will get this horrible black outline where the transparency in the PNG should be. I can try and create an example later today. Glen On 5/20/07, weepy [EMAIL PROTECTED] wrote: what exactly are the 'IE7' issues ? weepy On May 20, 12:32 am, Brandon Aaron [EMAIL PROTECTED] wrote: On 5/19/07, Glen Lipka [EMAIL PROTECTED] wrote: Ok, so is there a single jQuery plugin to include? Im starting to get confused. :) Do these fixes fix the problem in IE using FadeIn() where it becomes black? Glen No single best-of plugin yet and no these do not fix the IE7 issues. :/ There isn't a fix for that, yet... at least not that I've come across. -- Brandon Aaron
[jQuery] Re: parsing xml
Thanks, now im trying to do a search, like for example $search = Address; from above xml format how can i use the provided function in jquery to do the searching? i tried using $(Field).find($search); but doesnt seems to work... can someone enlighten me? On May 17, 10:10 pm, Marc Jansen [EMAIL PROTECTED] wrote: gendruwo schrieb: All, if i have anxmlfile like this Records Record Field id=1 name=Name value=My Full name /Field Field id=2 name=Address value=My Address /Field Field id=3 name=Telephone value=12345678 /Field Field id=4 name=Age value=27 /Field Field id=5 name=Occupation value=Theft /Field /Record and i wanted to extract out the value for each name in the field, how can i do it? $(Field).attr(value) Hi, supposing you get theXMLvia a POST-Request you could do it like this: $.post('myurl.php', {'param1':'value1'}, function(response) { console.log($('Field', response).attr('value')); }); Or you could try this: $.post('myurl.php', {'param1':'value1'}, function(response) { $('Field', response).each(function(){ alert($(this).attr('value')); }); }); untested as always. -- Marc
[jQuery] IE wedth problems
I am having trouble with a jQuery project I am working on. I can't reveal a lot about it but what it basically consists of is a list that contains elements that are styled (display: block; float:left) to produce a liquid layout resembling a table. I need to be able to animate the elements in the container with jQuery. In order to set up for the animation I get the current width and height of the containing list and then explicitly apply them with the $().width and $().height functions so the container wont collapse when I change the contained elements. Once the size of the container is explicitly set the top and left of each contained element is explicitly set to their offsetTop and offsetLeft positions. Finally all the elements are set position: absolute to make them ready for animating. The only problem is that in IE the container ends up one whole column narrower than intended under certai ncircumstances. If I've got elements that are 100px across with a 1px border and 2px or margin, then each element takes up 106px of space horizontally. If theter are 7 elements across then the result would be 742px width for the container. Firefox and IE compute this properly but IE ends up computing the width needed as 636px! I tried the dimensions plugin but that was of no help. The problems happen in IE5.5, 6 and 7.
[jQuery] NEWS: jQuery Mentioned on MrBool.com
While the article is not specific to jQuery, it does list the library which means that we're getting more and more exposure. Be sure to vote it up: http://www.dzone.com/rsslinks/which_open_source_ajax_framework_is_right_for_you.html Rey... -- BrightLight Development, LLC. 954-775- (o) 954-600-2726 (c) [EMAIL PROTECTED] http://www.iambright.com
[jQuery] Re: NEWS: More jQuery News on Ajaxian
Rey Bango wrote: http://ajaxian.com/archives/jquery-roundup-rails-wordpress-and-new-plugins how cool is that! finally I got my jquery widget! hooray! thanks Rey for these news! --Klaus
[jQuery] Re: Color Label on Form Validation Error
I set up a basic demo - http://nonsponsored.com/validation/ - but it's really not much different than your example form. So with showErrors, you're saying I'm able color the Name, Email and Password labels also? I'm not quite following how you can target those labels.
[jQuery] jquery tabs: editing tab title in place
Hi, Regarding JQuery tabs, I would like the ability to click on the text of the selected tab, and have it replaced by a text field where I can edit the text that composes the tab. Then, if I click outside the text field or hit Enter, what was typed in the text field would be the new tab text. How can I do this? Thanks, - Dave
[jQuery] Finding a parent element
I have an element (call it e1) with an onclick handler nested a variable length from a parent element (call it p1). I need to go up to the parent (p1), which might be 1, 2, or 3 levels up, then down to another element (call it e2). I want to hide element e2 when e1 is clicked. Is there a single-line jQuery syntax which can do this? Sam
[jQuery] Re: Finding a parent element
$(e1).parents(p1).find(e2).hide(); Substitute your actually selectors as necessary. --Erik On 5/21/07, SamCKayak [EMAIL PROTECTED] wrote: I have an element (call it e1) with an onclick handler nested a variable length from a parent element (call it p1). I need to go up to the parent (p1), which might be 1, 2, or 3 levels up, then down to another element (call it e2). I want to hide element e2 when e1 is clicked. Is there a single-line jQuery syntax which can do this? Sam
[jQuery] Re: jquery tabs: editing tab title in place
[EMAIL PROTECTED] wrote: Regarding JQuery tabs, I would like the ability to click on the text of the selected tab, and have it replaced by a text field where I can edit the text that composes the tab. Then, if I click outside the text field or hit Enter, what was typed in the text field would be the new tab text. How can I do this? I can't get to the JQuery site right now (jQuery JavaScript Library has a problem) but when it's back up, search the plugins page for text like edit in place. Or if you Google jquery edit in place, you'll get these and others: http://tinyurl.com/2uhkxt http://www.appelsiini.net/~tuupola/javascript/jEditable/ http://davehauenstein.com/blog/archives/28 I've never seen anything specific to tab titles, but I don't think that will likely be any issue, unless there is some unlikely conflict with your tab plugin. Cheers, -- Scott Sauyet
[jQuery] jqModal Safari Bug?
I started playing around with Brice's jqModal and ran into an odd bug that is specific to Safari 1 and 2. I'll keep this as short as possible, but here's are the details. The Goal The goal was to allow modal content on a page, knowing that some modal content would have a vertical height taller than the browser's viewport. The Solution To allow scrolling of the viewport, I changed the position of the modal container from fixed to absolute in the CSS and it worked as expected. The Odd Safari Problem If you list a set of links with a br / tag separating them, have positioning set to absolute and the modal content is taller than the viewport, Safari crashes. But if you wrap the links in p tags or have the positioning set to fixed, there's no problem. Demos I set up 2 demos that recreate the problem, just follow these steps: Step 1: Open Safari Step 2: Set viewport to a height of 400px or smaller Step 3: Hit Refresh Step 4: Load http://nonsponsored.com/jqmodal/good.html and click the 'Open modal content' link Result: You will see the modal content open and it will be taller than the viewport but allow you to scroll. Then to see it crash, follow the above steps again but load in http://nonsponsored.com/jqmodal/bad.html. This time, Safari will crash without loading the page. The only difference between the 2 html files is that the one that crashes has a br / tag after the modal content link. Good: a href=javascript:void(0) class=showMoreViewsOpen modal content/a Bad: a href=javascript:void(0) class=showMoreViewsOpen modal content/abr / Any thoughts on why the br / is causing this?
[jQuery] Re: NEWS: More jQuery News on Ajaxian
My pleasure. And great work on Plazes. http://www.techcrunch.com/?p=6223 Rey... Klaus Hartl wrote: Rey Bango wrote: http://ajaxian.com/archives/jquery-roundup-rails-wordpress-and-new-plugins how cool is that! finally I got my jquery widget! hooray! thanks Rey for these news! --Klaus -- BrightLight Development, LLC. 954-775- (o) 954-600-2726 (c) [EMAIL PROTECTED] http://www.iambright.com
[jQuery] jQuery SVN broken?
Is jQuery under DOS attack again? I've been trying to get the latest SVN version, but i am unable to do so. I've allready sent John an email about this, but somehow my account is also gone. can anybody help me to fix the SVN connection problems? Thanx Gilles
[jQuery] Re: Debugging jQuery
I think I do a better job with objects! Both simple and jQuerys. But I didn't even try timings. I show the same info as full firebug, with a mouseover/title of the dom node. I'll work on co-existence with firebug lite, so you would have $.log and console. routines together. On 5/20/07, Daemach [EMAIL PROTECTED] wrote: I mostly use it for the log and timing functions (time/timeend) since I can't get much else out of IE. You can't really dump any useful information to the console - objects just show as Object, so if you can do a better job with that, it would help a lot ;) I use the timing functions to compare performance between firefox and IE since there is no profiler. On May 20, 8:53 pm, Ⓙⓐⓚⓔ [EMAIL PROTECTED] wrote: Yes, It does some similar things, and steps all over firebug lite. Is there a feature in firebug lite that you really like? I'm sure I can incorporate it or make it more compatible. On 5/20/07, Daemach [EMAIL PROTECTED] wrote: Thanks Jake - new tools are always appreciated. Unfortunately, this plugin breaks firebug.js which is my only source of information in IE : ( http://www.getfirebug.com/lite.html On May 19, 9:39 pm, Ⓙⓐⓚⓔ [EMAIL PROTECTED] wrote: Get yer red-hot debugging... http://jqueryjs.googlecode.com/svn/trunk/plugins/debug/ I would like any feedback!! On 5/19/07, Ⓙⓐⓚⓔ [EMAIL PROTECTED] wrote: That was my goal, after I get feedback and make sure nobody has anything better!!! On 5/19/07, Brandon Aaron [EMAIL PROTECTED] wrote: Looks great Jake. How about adding it to jQuery Plugins SVN? -- Brandon Aaron On 5/19/07, Ⓙⓐⓚⓔ [EMAIL PROTECTED] wrote: over the months, I've re-written my debug library several times. I'm pretty happy with this one. based on code from all over the place! I hope you can all read the attached file. -- Ⓙⓐⓚⓔ - יעקב ʝǡǩȩ ᎫᎪᏦᎬ -- Ⓙⓐⓚⓔ - יעקב ʝǡǩȩ ᎫᎪᏦᎬ -- Ⓙⓐⓚⓔ - יעקב ʝǡǩȩ ᎫᎪᏦᎬ -- Ⓙⓐⓚⓔ - יעקב ʝǡǩȩ ᎫᎪᏦᎬ
[jQuery] Re: Capture and manipulate scrollwheel event
There is a mousewheel plugin http://www.ogonek.net/mousewheel/jQuery_mousewheel_plugin.js -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Fazal Khan Sent: lundi 21 mai 2007 16:10 To: jQuery (English) Subject: [jQuery] Capture and manipulate scrollwheel event Hi, This is a speculative question , is there such a method or way to capture the scrollwheel event and hijack it for your own use? For example, I am building a page with portfolio pieces on it, I would like the page to scroll horizontally as opposed to vertically when the scrollwheel is used. any suggestions would be highly appreciated, regards, Fazal Ce message Envoi est certifié sans virus connu. Analyse effectuée par AVG. Version: 7.5.467 / Base de données virus: 269.7.6/813 - Date: 20/05/2007 7:54
[jQuery] Re: jQuery SVN broken?
You should pull directly from Google Code. http://code.google.com/p/jqueryjs/ -- Brandon Aaron On 5/21/07, Gilles (Webunity) [EMAIL PROTECTED] wrote: Is jQuery under DOS attack again? I've been trying to get the latest SVN version, but i am unable to do so. I've allready sent John an email about this, but somehow my account is also gone. can anybody help me to fix the SVN connection problems? Thanx Gilles
[jQuery] Validation function help request
I don't think this came through when i origianlly sent it, apologies if you've seen it twice now... Hi all, Having tried a few validation plugins, none can do exactly what I want (given the time I have to spend on it), so I'm doing it the manual way, but I can't figure out how to turn my repititions into a function. I have this; //validation for forms $('#admin-quotes').submit( function(){ var inputcheck = $(#person); // if field has something in it, do submit actions, otherwise write out error if( inputcheck.val() == '' ){ // add class to change colour inputcheck.addClass(required).get(0).focus(); return false; }else{ inputcheck.removeClass(required); } var inputcheck = $(#position); // if field has something in it, do submit actions, otherwise write out error if( inputcheck.val() == '' ){ // add class to change colour inputcheck.addClass(required).get(0).focus(); return false; }else{ inputcheck.removeClass(required); } }); and obviously it's ripe for a function like; function simplecheck(fieldid){ var inputcheck = $(fieldid); // if field has something in it, do submit actions, otherwise write out error if( inputcheck.val() == '' ){ // add class to change colour inputcheck.addClass(required).get(0).focus(); return false; }else{ inputcheck.removeClass(required); } } But I can't get the right combinations of return true/false and calling the fuction to work whereby the form does the same with a function as it does with the 'manual' checking. Can anyone forge it into something that works? TIA! Luc Pestille Web Designer In2 Thames House Mere Park Dedmere Road Marlow Bucks SL7 1PB Tel 01628 899700 Fax 01628 899701 e: [EMAIL PROTECTED] i: www.in2.co.uk This message (and any associated files) is intended only for the use of jquery-en@googlegroups.com and may contain information that is confidential, subject to copyright or constitutes a trade secret. If you are not jquery-en@googlegroups.com you are hereby notified that any dissemination, copying or distribution of this message, or files associated with this message, is strictly prohibited. If you have received this message in error, please notify us immediately by replying to the message and deleting it from your computer. Messages sent to and from us may be monitored. Any views or opinions presented are solely those of the author [EMAIL PROTECTED] and do not necessarily represent those of the company. inline: jointbrand_emailsigs_I.gif
[jQuery] Re: The best practice to do this
Jean: Have you looked at some of the WYSIWYG (What You See Is What You Get) JavaScript text editors? TinyMCE is a popular choice to do what you asked and much more. - jake On 5/20/07, Jean Nascimento [EMAIL PROTECTED] wrote: How i make a list in a textarea? My ideia is do a script to when the user press ENTER in ah description textarea, this event create another row list. For my textarea look like some to do list. Thanks for the ideas ;D -- []´s Jean www.suissa.info Ethereal Agency www.etherealagency.com
[jQuery] Gathering List innerHTML into a string
I have an unordered list, each list element contains a radio button, and some text, e.g.: liinput type=radioThis is some text in list element 1./li liinput type=radioThis is some text in list element 2./li There can be from 1 to N list elements in the ul, what I need to do is concatenate the text into a semicolon delimited string to be passed to a database. The result string should look like: This is some text in list element1.;This is some text in list element 2. Note that I need to remove the radio buttons from the list element text. Yes. I'm a jQuery newbie. Experienced in prototype.js. Sam
[jQuery] Re: Simile Timeline in JQuery?
falcon wrote: Has any one done something like Simile's Timeline using jquery? (http://simile.mit.edu/timeline/) It is very nice as it is, I can't help but wonder if it couldn't be slimplified using jquery. I'm sure gurus here could extend timeline in interesting ways. I was about to ask the same thing my self, I think maybe the Simile timeline and some jquery were used here on the BBC.co.uk site checkt his one out! http://www.bbc.co.uk/music/sevenages/ If anyone has any knowledge on the construction of this goodie/greatie... then spill it :)^L^ -- View this message in context: http://www.nabble.com/Simile-Timeline-in-JQuery--tf3048648s15494.html#a10721650 Sent from the JQuery mailing list archive at Nabble.com.
[jQuery] Re: datePicker v2: setStartDate() is not a function?
On Sunday, May 20, 2007 10:00 AM Kelvin Luck said: Since the date picker methods are added to all jQuery methods I thought it polite to prefix them to avoid naming collisions with other plugins. Ahh - I've just noticed that there was a typo in the documentation which is maybe why you got confused... I just fixed it ( http://dev.jquery.com/changeset/1930 ) and the documentation ( http://kelvinluck.com/assets/jquery/datePicker/v2/demo/documentation.htm l ) is now correct, Thanks Kelvin!
[jQuery] Re: Gathering List innerHTML into a string
Here's a simpler problem... If I have a jQuery object which holds an array of elements, e.g., $('li') Is there a way to collapse the innerHTML of that array into a string of concatenated text? Sam
[jQuery] Re: Gathering List innerHTML into a string
var str = []; var cnt = 0; $(li).each(function(){str[cnt] = $(this).text();cnt++;}); alert(str.join(;)); this is the first thing that came to my head, probably a better way to do this. - jake On 5/21/07, SamCKayak [EMAIL PROTECTED] wrote: I have an unordered list, each list element contains a radio button, and some text, e.g.: liinput type=radioThis is some text in list element 1./li liinput type=radioThis is some text in list element 2./li There can be from 1 to N list elements in the ul, what I need to do is concatenate the text into a semicolon delimited string to be passed to a database. The result string should look like: This is some text in list element1.;This is some text in list element 2. Note that I need to remove the radio buttons from the list element text. Yes. I'm a jQuery newbie. Experienced in prototype.js. Sam
[jQuery] Re: Capture and manipulate scrollwheel event
Please use the latest from SVN! http://jqueryjs.googlecode.com/svn/trunk/plugins/mousewheel/ I have also tagged previous/current versions: http://jqueryjs.googlecode.com/svn/tags/plugins/mousewheel/ And once jQuery.com comes back up you can access the project page here: http://jquery.com/plugins/project/mousewheel -- Brandon Aaron On 5/21/07, Alexandre Plennevaux [EMAIL PROTECTED] wrote: There is a mousewheel plugin http://www.ogonek.net/mousewheel/jQuery_mousewheel_plugin.js -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Fazal Khan Sent: lundi 21 mai 2007 16:10 To: jQuery (English) Subject: [jQuery] Capture and manipulate scrollwheel event Hi, This is a speculative question , is there such a method or way to capture the scrollwheel event and hijack it for your own use? For example, I am building a page with portfolio pieces on it, I would like the page to scroll horizontally as opposed to vertically when the scrollwheel is used. any suggestions would be highly appreciated, regards, Fazal Ce message Envoi est certifié sans virus connu. Analyse effectuée par AVG. Version: 7.5.467 / Base de données virus: 269.7.6/813 - Date: 20/05/2007 7:54
[jQuery] Re: Gathering List innerHTML into a string
Thanks. This gives me all I need. Sam
[jQuery] Re: Debugging jQuery
try the latest update at http://jqueryjs.googlecode.com/svn/trunk/plugins/debug/ On 5/21/07, Ⓙⓐⓚⓔ [EMAIL PROTECTED] wrote: I think I do a better job with objects! Both simple and jQuerys. But I didn't even try timings. I show the same info as full firebug, with a mouseover/title of the dom node. I'll work on co-existence with firebug lite, so you would have $.log and console. routines together. On 5/20/07, Daemach [EMAIL PROTECTED] wrote: I mostly use it for the log and timing functions (time/timeend) since I can't get much else out of IE. You can't really dump any useful information to the console - objects just show as Object, so if you can do a better job with that, it would help a lot ;) I use the timing functions to compare performance between firefox and IE since there is no profiler. On May 20, 8:53 pm, Ⓙⓐⓚⓔ [EMAIL PROTECTED] wrote: Yes, It does some similar things, and steps all over firebug lite. Is there a feature in firebug lite that you really like? I'm sure I can incorporate it or make it more compatible. On 5/20/07, Daemach [EMAIL PROTECTED] wrote: Thanks Jake - new tools are always appreciated. Unfortunately, this plugin breaks firebug.js which is my only source of information in IE : ( http://www.getfirebug.com/lite.html On May 19, 9:39 pm, Ⓙⓐⓚⓔ [EMAIL PROTECTED] wrote: Get yer red-hot debugging... http://jqueryjs.googlecode.com/svn/trunk/plugins/debug/ I would like any feedback!! On 5/19/07, Ⓙⓐⓚⓔ [EMAIL PROTECTED] wrote: That was my goal, after I get feedback and make sure nobody has anything better!!! On 5/19/07, Brandon Aaron [EMAIL PROTECTED] wrote: Looks great Jake. How about adding it to jQuery Plugins SVN? -- Brandon Aaron On 5/19/07, Ⓙⓐⓚⓔ [EMAIL PROTECTED] wrote: over the months, I've re-written my debug library several times. I'm pretty happy with this one. based on code from all over the place! I hope you can all read the attached file. -- Ⓙⓐⓚⓔ - יעקב ʝǡǩȩ ᎫᎪᏦᎬ -- Ⓙⓐⓚⓔ - יעקב ʝǡǩȩ ᎫᎪᏦᎬ -- Ⓙⓐⓚⓔ - יעקב ʝǡǩȩ ᎫᎪᏦᎬ -- Ⓙⓐⓚⓔ - יעקב ʝǡǩȩ ᎫᎪᏦᎬ -- Ⓙⓐⓚⓔ - יעקב ʝǡǩȩ ᎫᎪᏦᎬ
[jQuery] Re: show fails in Konqueror with jQuery 1.1.2
Any luck with the latest 1.1.3a build? --John On 5/21/07, Klaus Hartl [EMAIL PROTECTED] wrote: The show method completely fails in Konqueror. Does anybody know if this is fixed with later SVN versions? I'm using the official 1.1.2 release. It worked before, so it should be fixable, and even if Konqueror is not officially supported. I need to resort to css('display', 'block') to make it work. Cheers, Klaus
[jQuery] Call or Send SMS to any phone anywhere in the world Free!
Call or Send SMS to any phone anywhere in the world Free! - http://offr.biz/HLGB7276377ZTPYJEK
[jQuery] Re: Streaming information from a server
I have submitted an enhancement to the ajax function. a partial callback, which gets called as each chunk is received. I should be in jQuery 1.2 On 5/21/07, peter [EMAIL PROTECTED] wrote: I have a server application where I start a long running process and want to give the user feedback on how it is progressing. I need the server process to send information every few seconds. I have had a look at heartbeat and rss but both of these need the client to make the requests. I want the server to send the information without it being requested. Does anyone have a suggestion as to how I can do this? Thanks Peter -- Ⓙⓐⓚⓔ - יעקב ʝǡǩȩ ᎫᎪᏦᎬ
[jQuery] Microsoft Bill Gates comments on Agloco as the NEXT BIG thing !!
* Microsoft Bill Gates comments on Agloco as the NEXT BIG thing !! * * * Microsoft Bill Gates comments on Agloco as the NEXT BIG thing !! Why AGLOCO? GOOGLE AFRAID ! Hi, If you haven't yet heard about AGLOCO, you need to listen up! This new company, founded by a bunch of Stanford MBA students, is creating quite a buzz. Their slogan is 'Own the Internet'... and that's what it's about: you're getting back some of the money you generate for e- businesses just by surfing as you usually do. Skeptical? Well, here's why I chose to join: 1) $$$ - I will earn ownership in the company (in the form of shares) and will then begin earning substantial money if this thing blows up (and I have nothing to lose if it doesn't.) 2) Simplicity - I use the Internet just as I always have... I just get paid to do it! 3) Getting my share! - I like the idea of getting my share of all the billions of wealth being created on the Internet - even if I am not going to be a millionaire because of this. The company has a very solid privacy structure in place, so your information won't be shared and you won't start receiving loads of spam. AND, you can earn for not only the time you spend on the net, but for the time your FRIENDS spend on the net. Think about it: you're driving users to the site, so the company earns more, and you, in turn, earn more. Fair and square, right? I used the AGLOCO member calculator - I can get over 5,000 shares a month if I sign up 10 good people who recruit more new members; and, once the site has grown enough, I will start earning actual checks. SIGN UP NOW - this is the key! Remember that you can maximize your earnings by getting referrals to the site... and YOU want to be the one referring everyone! Here is a link to sign up - it has my ID code in it* www.agloco.com/r/BBCR0668* http://www.agloco.com/r/BBCG1595 Hello , Look ! I recently joined AGLOCO because of a friend recommended it to me. I am now promoting it to you because I like the idea and I want you to share in what I think will be an exciting new Internet concept. AGLOCO story is simple: Do you realize how valuable you are? Advertisers, search providers and online retailers are paying billions to reach you while you surf. How much of that money are you making? NONE! AGLOCO thinks you deserve a piece of the action. AGLOCO collects money from those companies on behalf of its members. (For example, Google currently pays AOL 10 cents for every Google search by an AOL user. And Google still has enough profit to pay $1.6 billion dollars for YouTube, an 18-month old site full of content that YouTube's users did not get paid for! AGLOCO will work to get its Members their share of this and more. AGLOCO is building a new form of online community that they call an Economic Network. They are not only paying Members their fair share, but they're building a community that will generate the kind of fortune that YouTube made. But instead of that wealth making only a few people rich, the entire community will get its share. What's the catch? No catch - no spyware, no pop-ups and no spam - membership and software are free and AGLOCO is 100% member owned. Privacy is a core value and AGLOCO never sells or rents member information. So do both of us a favor: Sign up for AGLOCO right now! If you use this link to sign up, I automatically get credit for referring you and helping to build AGLOCO. *www.agloco.com/r/BBCR0668* http://www.agloco.com/r/BBCG1595 Thanks ! : Beauty ! NEW TREND BUSINESS !!!
[jQuery] Free Daily Horoscope
* Free Daily Horoscope** * Download Free Daily Horoscope Toolbar! - http://offr.biz/HLFDH276377ZTPYJEK
[jQuery] Re: Free Daily Horoscope
SPAM On 5/21/07, jack nicole [EMAIL PROTECTED] wrote: Free Daily Horoscope Download Free Daily Horoscope Toolbar! - http://offr.biz/HLFDH276377ZTPYJEK -- Rodrigo Castilho Galvão Ferreira www.rodrigocastilho.com www.rodrigocastilho.com.br www.rodcast.com.br www.rod.cast.nom.br
[jQuery] Re: RSS Feed trouble in IE (bug?)
Glen, the file is: get http://erikandcolleen.com/erik/projects/jquery/rss/test.xml | hexdump -c 000 ? x m l v e r s i o n = 1 010 . 0 e n c o d i n g = U T 020 F - 8 ? \n r o o t \n \t 030 t e s t f o o 226 b a r / 040 t e s t \n / r o o t \n 04e but 226 is an ascii value, not a utf-8 value. On 5/21/07, Erik Beeson [EMAIL PROTECTED] wrote: The problem seems to be that IE (IE6 on XP anyways) is choking on a character in your XML. Try viewing this page in IE for an illustration of the problem: http://erikandcolleen.com/erik/projects/jquery/rss/test.xml Since it can't manage to parse the XML, I'd say this is an IE problem, not a jQuery problem. I'm not sure how to fix it. Maybe don't use that character in your blog? Or preprocess the XML on your server to properly escape characters like that? --Erik On 5/20/07, Glen Lipka [EMAIL PROTECTED] wrote: Working off this sample: http://erikandcolleen.com/erik/projects/jquery/rss/ My sample page: http://www.marketo.com/rsstest.htm My feed is formatted atom from Feedburner. The works fine in Firefox. IE6/7 gives no love. It can't find anything, which is wierd because it's not doing anything particularly special. Is this a bug? Thanks, Glen -- Ⓙⓐⓚⓔ - יעקב ʝǡǩȩ ᎫᎪᏦᎬ
[jQuery] Re: Free Greeting cards!
Looks like some idiot posting spam crap-page to me, [Delete] On May 21, 12:52 pm, jack nicole [EMAIL PROTECTED] wrote: Free Greeting cards!http://offr.biz/HLFCI276377ZTPYJEK
[jQuery] Google Code SVN Issue
Hi guys, When I try checkout using TortoiseSVN (latest) via http://jqueryjs.googlecode.com/svn/trunk/, I get the following error: Error: REPORT request failed on '/svn/!svn/vcc/default' Error: REPORT of '/svn/!svn/vcc/default': 502 Bad Gateway (http://jqueryjs.googlecode.com) Anyone seen this before? I can't find a solution on Google anywhere. Rey... -- BrightLight Development, LLC. 954-775- (o) 954-600-2726 (c) [EMAIL PROTECTED] http://www.iambright.com
[jQuery] Re: Initial images not showing up in IE6
Hi Jan, That did the trick. That wacky IE! Thanks for the tip! -Michael Jan Sorgalla wrote: Hi, On May 19, 1:47 am, mpmchugh [EMAIL PROTECTED] wrote: I'm having a problem.Initialimages are not showing up in IE until a millisecond before autoscroll advances, or if manual, until you click the forward arrow. This is working fine in Firefox and Safari. I'm using background images in the li for drop shadows, but it doesn't work without them either. http://whitestone.df-dev.com/ (orange box in lower right) Any idea why? the trick seems to be setting a width for the list in the css file. Just add .jcarousel-list-horizontal { width: 1000px; } to the skin.css. That fixed it here. Jan -- View this message in context: http://www.nabble.com/Initial-images-not-showing-up-in-IE6-tf3780737.html#a10724368 Sent from the jCarousel mailing list archive at Nabble.com.
[jQuery] Re: dealing with spam on the jQuery list.
here here! -js On 5/21/07, Ⓙⓐⓚⓔ [EMAIL PROTECTED] wrote: Gmail deals pretty well with spam, but it has to be told! I mark the spam messages as spam. Gmail gets the idea, and the abuser's mail is all marked spam. If enough people using gmail, just mark the spam as spam... every gmail user will have the spam thrown into the spam folder. (I think!) Responding to spam, no matter how funny or ridiculous , just makes things worse. -- Ⓙⓐⓚⓔ - יעקב ʝǡǩȩ ᎫᎪᏦᎬ
[jQuery] Re: dealing with spam on the jQuery list.
I agree with Jake, but we need not reply to those spam mails because I have found that those people who reply get lumped into the spam filter and gets put in the spam folder. On 5/21/07, Jonathan Sharp [EMAIL PROTECTED] wrote: here here! -js On 5/21/07, Ⓙⓐⓚⓔ [EMAIL PROTECTED] wrote: Gmail deals pretty well with spam, but it has to be told! I mark the spam messages as spam. Gmail gets the idea, and the abuser's mail is all marked spam. If enough people using gmail, just mark the spam as spam... every gmail user will have the spam thrown into the spam folder. (I think!) Responding to spam, no matter how funny or ridiculous , just makes things worse. -- Ⓙⓐⓚⓔ - יעקב ʝǡǩȩ ᎫᎪᏦᎬ -- Benjamin Sterling http://www.KenzoMedia.com http://www.KenzoHosting.com
[jQuery] Re: The best practice to do this
Tkz for the tips but using jQuery it will show ??? On 5/21/07, Jake McGraw [EMAIL PROTECTED] wrote: Jean: Have you looked at some of the WYSIWYG (What You See Is What You Get) JavaScript text editors? TinyMCE is a popular choice to do what you asked and much more. - jake On 5/20/07, Jean Nascimento [EMAIL PROTECTED] wrote: How i make a list in a textarea? My ideia is do a script to when the user press ENTER in ah description textarea, this event create another row list. For my textarea look like some to do list. Thanks for the ideas ;D -- []´s Jean www.suissa.info Ethereal Agency www.etherealagency.com -- []´s Jean www.suissa.info Ethereal Agency www.etherealagency.com
[jQuery] Re: dealing with spam on the jQuery list.
Exactly dont reply this spamers i was affraid to mark spam and the all list beeing marked On 5/21/07, Benjamin Sterling [EMAIL PROTECTED] wrote: I agree with Jake, but we need not reply to those spam mails because I have found that those people who reply get lumped into the spam filter and gets put in the spam folder. On 5/21/07, Jonathan Sharp [EMAIL PROTECTED] wrote: here here! -js On 5/21/07, Ⓙⓐⓚⓔ [EMAIL PROTECTED] wrote: Gmail deals pretty well with spam, but it has to be told! I mark the spam messages as spam. Gmail gets the idea, and the abuser's mail is all marked spam. If enough people using gmail, just mark the spam as spam... every gmail user will have the spam thrown into the spam folder. (I think!) Responding to spam, no matter how funny or ridiculous , just makes things worse. -- Ⓙⓐⓚⓔ - יעקב ʝǡǩȩ ᎫᎪᏦᎬ -- Benjamin Sterling http://www.KenzoMedia.com http://www.KenzoHosting.com -- []´s Jean www.suissa.info Ethereal Agency www.etherealagency.com
[jQuery] Re: dealing with spam on the jQuery list.
Jean, It's a valid fear... but have no fear! those google boys are (t)here! I've marked all the spam, as it comes in and the new spam from the same guy goes directly to spam! On 5/21/07, Jean Nascimento [EMAIL PROTECTED] wrote: Exactly dont reply this spamers i was affraid to mark spam and the all list beeing marked On 5/21/07, Benjamin Sterling [EMAIL PROTECTED] wrote: I agree with Jake, but we need not reply to those spam mails because I have found that those people who reply get lumped into the spam filter and gets put in the spam folder. On 5/21/07, Jonathan Sharp [EMAIL PROTECTED] wrote: here here! -js On 5/21/07, Ⓙⓐⓚⓔ [EMAIL PROTECTED] wrote: Gmail deals pretty well with spam, but it has to be told! I mark the spam messages as spam. Gmail gets the idea, and the abuser's mail is all marked spam. If enough people using gmail, just mark the spam as spam... every gmail user will have the spam thrown into the spam folder. (I think!) Responding to spam, no matter how funny or ridiculous , just makes things worse. -- Ⓙⓐⓚⓔ - יעקב ʝǡǩȩ ᎫᎪᏦᎬ -- Benjamin Sterling http://www.KenzoMedia.com http://www.KenzoHosting.com -- []´s Jean www.suissa.info Ethereal Agency www.etherealagency.com -- Ⓙⓐⓚⓔ - יעקב ʝǡǩȩ ᎫᎪᏦᎬ
[jQuery] Re: The best practice to do this
Ahh, I see what you're getting at: HTML: input type=text name=mytext id=mytext/ ul id=mylist /ul JavaScript: $(#mytext).keypress(function(event){ if (!event.keyCode||event.keyCode!=13) return; $(#mylist).append(li+$(this).val()+/li); $(this).val(); }); Works in Firefox. - jake On 5/21/07, Jean Nascimento [EMAIL PROTECTED] wrote: Tkz for the tips but using jQuery it will show ??? On 5/21/07, Jake McGraw [EMAIL PROTECTED] wrote: Jean: Have you looked at some of the WYSIWYG (What You See Is What You Get) JavaScript text editors? TinyMCE is a popular choice to do what you asked and much more. - jake On 5/20/07, Jean Nascimento [EMAIL PROTECTED] wrote: How i make a list in a textarea? My ideia is do a script to when the user press ENTER in ah description textarea, this event create another row list. For my textarea look like some to do list. Thanks for the ideas ;D -- []´s Jean www.suissa.info Ethereal Agency www.etherealagency.com -- []´s Jean www.suissa.info Ethereal Agency www.etherealagency.com
[jQuery] Re: dealing with spam on the jQuery list.
For those (like me), who interface with the group via Nabble, perhaps there's something server-side to kill the weeds... (not sure what can be accomplished in Google Group management) Dumping everything with a .biz might be a good start, unless folks here are using one of those domains legitimately (99.8% are of the ED-remedy variety). At least offr.biz would dump the latest spam dork. SEAN O http://www.sean-o.com Ⓙⓐⓚⓔ wrote: Gmail deals pretty well with spam, but it has to be told! I mark the spam messages as spam. Gmail gets the idea, and the abuser's mail is all marked spam. If enough people using gmail, just mark the spam as spam... every gmail user will have the spam thrown into the spam folder. (I think!) Responding to spam, no matter how funny or ridiculous , just makes things worse. -- Ⓙⓐⓚⓔ - יעקב ʝǡǩȩ ᎫᎪᏦᎬ -- View this message in context: http://www.nabble.com/dealing-with-spam-on-the-jQuery-list.-tf3792035s15494.html#a10725408 Sent from the JQuery mailing list archive at Nabble.com.
[jQuery] Re: How to handle Pseudo leak in IE?
I have some problem in creating the ticket. It always timeout when I submitting... I will try later. Anyway, here is an example about it. Load it in IESieve , cilck refresh rows or set interval and watch the memory and dom usage. html head titleTest Mem Leak in IE6/title script type=text/javascript src=jquery-1.1.2.js/script script type=text/javascript var datas = [ [1,2,3,4,5], [1,2,3,4,5], [1,2,3,4,5], [1,2,3,4,5], [1,2,3,4,5], [1,2,3,4,5] ]; $(document).ready(function(){ $(#remove).click(removeAllRows); $(#refresh).click(refreshRows); $(#interval).click(startRefresh); }); function startRefresh(){ var interval = setInterval(refreshRows,5*1000); } function refreshRows(){ removeAllRows(); for(var i=0; idatas.length; i++){ var tr = document.createElement(tr); for(var j=0; jdatas[i].length; j++){ var td = document.createElement(td); var d = datas[i][j]*Math.floor(Math.random()*100+1); td.innerHTML = a href='#' onclick='return false;'+d+/a + input type='button' onclick='buttonClick(this)' value='+datas[i][j]+'/; $(tr).append(td); td = null; d = null; } var tb = $(#testtbody).append(tr); } } function removeAllRows(){ var tb = $(#testtbody) .find(*).unbind().end() .html(); } function buttonClick(obj){ obj.value = 'btn'; } /script /head body table id=test border=1 thead tr thth1/th thth2/th thth3/th thth4/th thth5/th /tr /thead tbody /tbody /table input type=button value=remove all rows id=remove/ input type=button value=refresh all rows id=refresh/ input type=button value=start interval id=interval/ /body /html -- Best Regards, Jacky 網絡暴民 http://jacky.seezone.net On 5/21/07, Brandon Aaron [EMAIL PROTECTED] wrote: If you could create a ticket and a test case for this it would help a lot! I believe I could find some time to investigate it in detail soon. -- Brandon Aaron On 5/21/07, Jacky [EMAIL PROTECTED] wrote: Hi all, I'm dealing with the IE memory problem. There is an IE leak called 'pseudo leak', where removeChild() is not really removing child from memory. It is pseudo because it would be cleared after refresh. (some detail: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/IETechCol/dnwebgen/ie_leak_patterns.asp ) However, my app is not page-driven, it would stay on same page and refreshing ajax call, refreshing table rows, etc. So the memory would just keep raising by the pseudo leak. It is said in some site that by setting innerHTML = would prevent the leak. So I try to do something like: $(tbody) .find(*).unbind().end() //unbinding all handler to prevent another closure leak .find(td,tr).html().remove().end() //setting html = and remove itself .html(); //setting tbody html to empty I use IESieve (http://home.wanadoo.nl/jsrosman/ ) to check for the the dom object creation but it just keep increasing. Is there anyone try to tackle this 'leak' before? -- Best Regards, Jacky 網絡暴民 http://jacky.seezone.net
[jQuery] $(document).ready(function() {
Can $(document).ready(function() { appear in an included script src=filename or must it appear only once in the document header? Sam
[jQuery] Re: NEWS: jQuery Mentioned on MrBool.com
Rey, I'm a little dense here, but not exactly sure what he is trying to say with this line: However, it does not support a reusable programming model like an object oriented approach, so you should not expect thousands of lines of JQuery code to be a good asset to your project can anyone clarify. Is this a compliment or a knock against jquery? On 5/21/07, Rey Bango [EMAIL PROTECTED] wrote: While the article is not specific to jQuery, it does list the library which means that we're getting more and more exposure. Be sure to vote it up: http://www.dzone.com/rsslinks/which_open_source_ajax_framework_is_right_for_you.html Rey... -- BrightLight Development, LLC. 954-775- (o) 954-600-2726 (c) [EMAIL PROTECTED] http://www.iambright.com -- Benjamin Sterling http://www.KenzoMedia.com http://www.KenzoHosting.com
[jQuery] Re: $(document).ready(function() {
It can be included. -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of SamCKayak Sent: Monday, May 21, 2007 2:52 PM To: jQuery (English) Subject: [jQuery] $(document).ready(function() { Can $(document).ready(function() { appear in an included script src=filename or must it appear only once in the document header? Sam
[jQuery] Re: NEWS: jQuery Mentioned on MrBool.com
Benjamin Sterling wrote on 5/21/2007 12:58 PM: However, it does not support a reusable programming model like an object oriented approach, so you should not expect thousands of lines of JQuery code to be a good asset to your project can anyone clarify. Is this a compliment or a knock against jquery? Knock. They're claiming that if you write a bunch of code in jQuery for one project, it's not easily reusable for other projects. - Bil
[jQuery] Re: NEWS: jQuery Mentioned on MrBool.com
Rey, I'm a little dense here, but not exactly sure what he is trying to say with this line: However, it does not support a reusable programming model like an object oriented approach, so you should not expect thousands of lines of JQuery code to be a good asset to your project can anyone clarify. Is this a compliment or a knock against jquery? I think they mean it as a knock, but I don't agree with the statement. While it's true the plug-in architecture isn't a true OO model, you can definitely build re-usable logic using the plug-ins. And there's nothing preventing you to building all your code OO-based and using jQuery to interact w/the DOM. In a nutshell, that's what jQuery really is--a DOM helper. -Dan
[jQuery] Ajax Data Format Recommendation
I did a little Json and some XML using prototype last year. Now I have jQuery and need to pass about 4 string parameters to the server, query a database, and return about 4 string parameters. My current method to post the get is: $.get(../survey/postsurveytodb.asp, { surveyid: strSurveyId, question: strQuestion, type: strChoiceType, choices:strParmChoices }, function(data){ /* The callback on Ajax Request Complete */ alert(Data Loaded: + data); } ); I am not familiar with any built-in Json support jQuery may have, so the above method of passing parameters to the server seemed to be efficent for this request. ASP can pick apart the query string neatly. Json comes to mind when contemplating decoding the return data. Which would be easier? Encoding the data as a query string or as Json. Suggestions or comments? Sam
[jQuery] Re: dealing with spam on the jQuery list.
We'd have to mark them as spam via the gmail web client though, right? I use Thunderbird to get my gmail. I almost never visit the actual gmail web client. :o' Chris (J)(a)(k)(e) wrote: Jean, It's a valid fear... but have no fear! those google boys are (t)here! I've marked all the spam, as it comes in and the new spam from the same guy goes directly to spam! On 5/21/07, *Jean Nascimento* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Exactly dont reply this spamers i was affraid to mark spam and the all list beeing marked On 5/21/07, Benjamin Sterling [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: I agree with Jake, but we need not reply to those spam mails because I have found that those people who reply get lumped into the spam filter and gets put in the spam folder. On 5/21/07, Jonathan Sharp [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: here here! -js On 5/21/07, â'¿â?âs(â [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Gmail deals pretty well with spam, but it has to be told! I mark the spam messages as spam. Gmail gets the idea, and the abuser's mail is all marked spam. If enough people using gmail, just mark the spam as spam... every gmail user will have the spam thrown into the spam folder. (I think!) Responding to spam, no matter how funny or ridiculous , just makes things worse. -- â'¿â?âs(â - ×^(TM)עק×' Ê?Ç¡Ç©È© áZ(«áZ(ªá?¦áZ(¬ -- Benjamin Sterling http://www.KenzoMedia.com http://www.KenzoHosting.com -- []´s Jean www.suissa.info http://www.suissa.info Ethereal Agency www.etherealagency.com http://www.etherealagency.com -- â'¿â?âs(â - ×^(TM)עק×' Ê?Ç¡Ç©È© áZ(«áZ(ªá?¦áZ(¬ -- http://www.cjordan.us
[jQuery] Re: Help Test jQuery 1.1.3
I've just tested it with Chili 1.8 and all is ok. Just a little thing: the show() / hide() functions work much slower than before and they have a 'nice' (quoted because not needed nor requested) transition effect, which is maybe responsible for the slow-down factor. hide() is a bit faster than show(), but still very noticeable. And the slow down factor is proportional to the length/complexity of the contained html. http://noteslog.com/personal/projects/chili/1.8/examples-bundled-languages.html http://noteslog.com/personal/projects/chili/1.8_test-1.1.3a/examples-bundled-languages.html Click on the PHP header and see what I mean. -- View this message in context: http://www.nabble.com/Help-Test-jQuery-1.1.3-tf3787839s15494.html#a10726190 Sent from the JQuery mailing list archive at Nabble.com.
[jQuery] Re: Chili 1.8 gets chainability
No problems at all :-) Chili safely use the $ shortcut by means of this trick: ( function( $ ) { /* $ is really jQuery here */ } )( jQuery ); Stosh wrote: On May 17, 4:11 pm, Andrea Ercolino [EMAIL PROTECTED] wrote: I've just released http://notelog.com/category/chili/Chili 1.8 , which eventually gets a very requested feature: the mithical jQuery chainability. Improved speed and better examples are good news too. Andrea, Thanks for these great and needed improvements. Just out of curiosity, why use $().fn.X over jQuery.fn.X() ? Will this have problems if I do not have jQuery set to use the $() shortcut? Pax, - Stan -- View this message in context: http://www.nabble.com/Chili-1.8-gets-chainability-tf3774119s15494.html#a10726366 Sent from the JQuery mailing list archive at Nabble.com.
[jQuery] Re: Ajax Data Format Recommendation
I found JSON on the return trip to work fine. Sometimes the answers come to me as soon as I post. Sam
[jQuery] Re: Color Label on Form Validation Error
Scott Moore wrote: I set up a basic demo - http://nonsponsored.com/validation/ - but it's really not much different than your example form. So with showErrors, you're saying I'm able color the Name, Email and Password labels also? I'm not quite following how you can target those labels. Ok, I've tried around a bit, and while its easy to add the class (see below), its not possible to remove it again. I'll try to find a nice solution that I can build into the plugin. $(document).ready(function(){ $(#userForm).validate({ focusInvalid: false, event: blur, errorContainer: $(ul.error), errorLabelContainer: $(ul.error), wrapper: li, rules: { name: { required: true }, email: { required: true, email: true }, password: { required: true } }, messages: { name: Name is a required field., email: Your email address is required., password: Password is a required field. }, showErrors: function(errors, validator) { $.each(errors, function(key, value) { $([EMAIL PROTECTED] + key + ]).not(.error).addClass(highlight); }); validator.defaultShowErrors(); } }); }); -- Jörn Zaefferer http://bassistance.de
[jQuery] Re: Validation function help request
Luc, having written a pretty complete validation plugin I could give you quite a lot of tips on how to build one. But I tend to think that it makes much more sense if you could just tell me what need from the plugin and I could tell you how you can achieve that with my plugin. And in case it isn't possible yet, I'm sure we can figure out a nice solution. I've nearly finished the first release candidate of the plugin, with some interesting new features (that were requested at some point) and some heavy refactoring that removed all depedencies on IDs in a form. Let me know how we can get you going. -- Jörn Zaefferer http://bassistance.de
[jQuery] Re: RSS Feed trouble in IE (bug?)
I just checked, and we found the exact same problem at the exact same time. :) Thaks man, this is perfect. Thank you so much. I think this is MS Word being paste into Typepad. its the dash character. We will edit the blog source. I just finished figuring out a PHP version too. (My head hurts!) Quick question...on this call $.ajaxCan you call from another site? Like feedburner? I got a permission denied error. Glen On 5/21/07, Ⓙⓐⓚⓔ [EMAIL PROTECTED] wrote: Glen, the file is: get http://erikandcolleen.com/erik/projects/jquery/rss/test.xml | hexdump -c 000 ? x m l v e r s i o n = 1 010 . 0 e n c o d i n g = U T 020 F - 8 ? \n r o o t \n \t 030 t e s t f o o 226 b a r / 040 t e s t \n / r o o t \n 04e but 226 is an ascii value, not a utf-8 value. On 5/21/07, Erik Beeson [EMAIL PROTECTED] wrote: The problem seems to be that IE (IE6 on XP anyways) is choking on a character in your XML. Try viewing this page in IE for an illustration of the problem: http://erikandcolleen.com/erik/projects/jquery/rss/test.xml Since it can't manage to parse the XML, I'd say this is an IE problem, not a jQuery problem. I'm not sure how to fix it. Maybe don't use that character in your blog? Or preprocess the XML on your server to properly escape characters like that? --Erik On 5/20/07, Glen Lipka [EMAIL PROTECTED] wrote: Working off this sample: http://erikandcolleen.com/erik/projects/jquery/rss/ My sample page: http://www.marketo.com/rsstest.htm My feed is formatted atom from Feedburner. The works fine in Firefox. IE6/7 gives no love. It can't find anything, which is wierd because it's not doing anything particularly special. Is this a bug? Thanks, Glen -- Ⓙⓐⓚⓔ - יעקב ʝǡǩȩ ᎫᎪᏦᎬ
[jQuery] Re: Color Label on Form Validation Error
I set up a basic demo - http://nonsponsored.com/validation/ - but it's really not much different than your example form. So with showErrors, you're saying I'm able color the Name, Email and Password labels also? I'm not quite following how you can target those labels. Ok, I've tried around a bit, and while its easy to add the class (see below), its not possible to remove it again. I'll try to find a nice solution that I can build into the plugin. $(document).ready(function(){ $(#userForm).validate({ focusInvalid: false, event: blur, errorContainer: $(ul.error), errorLabelContainer: $(ul.error), wrapper: li, rules: { name: { required: true }, email: { required: true, email: true }, password: { required: true } }, messages: { name: Name is a required field., email: Your email address is required., password: Password is a required field. }, showErrors: function(errors, validator) { $.each(errors, function(key, value) { $([EMAIL PROTECTED] + key + ]).not(.error).addClass(highlight); }); validator.defaultShowErrors(); } }); }); What I've done in the past is just add an onfocus event to remove the classes: // for any input field in the signup form, add a onfocus event $(#userForm input).focus( // everything in this function is executed function (){ // $(this) performs the operation on the current jQuery object // this removes the error class from the field $(this).removeClass(error); // the label name is equal to the field name attribute // for checkbox and radio elements and equal to the id // attribute for all other fields var sLabelName = ($(this)[0].type == checkbox || $(this)[0].type == radio) ? $(this)[0].name : $(this)[0].id ; // hide the error message for the current field $([EMAIL PROTECTED] + $(this)[0].name + [EMAIL PROTECTED]).hide(); } ); You probably want to use a more specific selector to just grab text fields, radio, checkbox and textarea elements, but you get the idea. It would be nice if this hook was automatically added by the validator though... -Dan
[jQuery] Re: $(document).ready(function() {
It can be used as many times as you like, anywhere after jquery is included. The scripts will run in the order they were added, after the DOM is ready. On 5/21/07, SamCKayak [EMAIL PROTECTED] wrote: Can $(document).ready(function() { appear in an included script src=filename or must it appear only once in the document header? Sam
[jQuery] Re: Help Test jQuery 1.1.3
Do you know what version/rev of the dimensions plugin you are using? What browser(s) are you having problems with? Here is the latest version's test suite running on 1.1.3: http://brandonaaron.net/jquery/plugins/dimensions/test/unit.html -- Brandon Aaron On 5/21/07, Dragan Krstic [EMAIL PROTECTED] wrote: I have a problems with dimensions plugin. width and height couldn't be read
[jQuery] Regex experts: search/replace operations
This is a little off-topic, but when doing a regex search and replace within a text editor, how can I replace one character within a specific pattern? I want to get rid of newlines within td tags. This finds them: td[^]+(\r\n).+/td How do I specify that I only want to replace the matched set?
[jQuery] Re: Help Test jQuery 1.1.3
2007/5/21, Brandon Aaron [EMAIL PROTECTED]: Do you know what version/rev of the dimensions plugin you are using? What browser(s) are you having problems with? I'm not quite sure. I'm using striped off version. File is created on January,18th. In firebug I'm getting the following: headlines[0].left is not a function http://ci/ (line 63)anonymous http://ci/ (line 63) anonymousjquery.js (line 3307) anonymousjquery.js (line 3332) anonymousjquery.js (line 1344) Everything worked well with jquery1.1.2. You can see it live on http://www.bydot.net/ -- Dragan Krstić krdr http://krdr.ebloggy.com/
[jQuery] Re: Color Label on Form Validation Error
Dan G. Switzer, II wrote: What I've done in the past is just add an onfocus event to remove the classes: // for any input field in the signup form, add a onfocus event $(#userForm input).focus( // everything in this function is executed function (){ // $(this) performs the operation on the current jQuery object // this removes the error class from the field $(this).removeClass(error); // the label name is equal to the field name attribute // for checkbox and radio elements and equal to the id // attribute for all other fields var sLabelName = ($(this)[0].type == checkbox || $(this)[0].type == radio) ? $(this)[0].name : $(this)[0].id ; // hide the error message for the current field $([EMAIL PROTECTED] + $(this)[0].name + [EMAIL PROTECTED]).hide(); } ); You probably want to use a more specific selector to just grab text fields, radio, checkbox and textarea elements, but you get the idea. It would be nice if this hook was automatically added by the validator though... This basically removes all hints of an invalid field on focus, right? Allowing the use to start again, fixing the previous problems. The plugin adds a focus-event-handler to all elements in the form anyway, so the overhead of adding the cleanup would is minimal: refresh: function() { var validator = this; this.elements = jQuery(this.currentForm).find(...).focus(function() { validator.lastActive = this; // hide error label and remove error class on focus if enabled if ( validator.settings.focusCleanup ) { $(this).removeClass(validator.settings.errorClass); validator.errors().forId( validator.idOrName(this) ).hide(); } }); }, Using the stuff already available in the plugin to get id/name and select the appropiate error elements makes the code quite short and effective. Not so great when combined with focusInvalid. -- Jörn Zaefferer http://bassistance.de
[jQuery] Re: Help Test jQuery 1.1.3
It appears that extend no longer extends objects with more than one object. In 1.1.2 I could do: this.settings = jQuery.extend({}, this.defaults, arguments.options, this.userOptionsFromCookie); // named to illustrate purpose Now, only the arguments.options values extend the defaults. Is this expected behavior? On May 20, 6:29 pm, John Resig [EMAIL PROTECTED] wrote: Hi Everyone - A test build of the upcoming 1.1.3 release is ready for everyone to try. We need to be super-sure that there haven't been any regressions in this release, and in order to do that we'd like you to download this alpha release and try it in place of jQuery 1.1.2 (wherever you may be using it). Download the test release: * jQuery 1.1.3a (Uncompressed, Test Release) http://code.jquery.com/jquery-1.1.3a.js Here's what you can do to help: 1. Download the test release of jQuery 1.1.3 2. Temporarily replace your copy of jQuery 1.1.2 with this test release in some of your web pages 3. If something is now broken, please submit a ticket letting us know what happened. The more specific you can be, the better (demos or test cases are highly desired). http://dev.jquery.com/newticket Note: Pay special attention to Events, Selectors, and Animations; significant changes happened in all three of those areas, so if there's any place where a regression is possible, it would be more likely to occur in there. Once we're confident that there's no new bugs, we'll be releasing jQuery 1.1.3 fully (hopefully some time this week). Thanks everyone! --John
[jQuery] Re: Regex experts: search/replace operations
This is a little off-topic, but when doing a regex search and replace within a text editor, how can I replace one character within a specific pattern? I want to get rid of newlines within td tags. This finds them: td[^]+(\r\n).+/td How do I specify that I only want to replace the matched set? You group all the contents and then the replacement string are all the matched sets pieced back together: sHtml.replace(/(td[^]+)(\r\n)(.+/td)/gi, $1$3) -Dan
[jQuery] Re: Help Test jQuery 1.1.3
It appears that the helper method left has been removed from the API. Try replacing left with $().css('left', 260); -- Brandon Aaron On 5/21/07, Dragan Krstic [EMAIL PROTECTED] wrote: 2007/5/21, Brandon Aaron [EMAIL PROTECTED]: Do you know what version/rev of the dimensions plugin you are using? What browser(s) are you having problems with? I'm not quite sure. I'm using striped off version. File is created on January,18th. In firebug I'm getting the following: headlines[0].left is not a function http://ci/ (line 63) anonymous http://ci/ (line 63) anonymousjquery.js (line 3307) anonymousjquery.js (line 3332) anonymousjquery.js (line 1344) Everything worked well with jquery1.1.2. You can see it live on http://www.bydot.net/ -- Dragan Krstić krdr http://krdr.ebloggy.com/
[jQuery] Re: Ajax Data Format Recommendation
Sam, Instead of $.get()... I'd use $.ajax(). Check out this post from Brian Ronk http://groups.google.com/group/jquery-en/browse_frm/thread/ec2eca0746d2d5f4/37389139ca16ab64?lnk=gstq=getJSON%28%29+or+post%28%29+parameter+questionrnum=1#37389139ca16ab64 on basically the same subject. Read my reply (#3), and see if that doesn't help. And while it doesn't talk about it, you can also pass arguments as a query string (without the leading '?'). The 'data' parameter of the $.ajax function would be something like: data: MyVar1= + myJSVar1 + MyVar2=SomeConstantString; as opposed to: data: {MyVar1:myJSVar1, MyVar2:SomeConstantString} Also the in-built supported dataTypes in the $.ajax() function are: html, json, xml, and script. Hope this helps. :o) Cheers, Chris SamCKayak wrote: I did a little Json and some XML using prototype last year. Now I have jQuery and need to pass about 4 string parameters to the server, query a database, and return about 4 string parameters. My current method to post the get is: $.get(../survey/postsurveytodb.asp, { surveyid: strSurveyId, question: strQuestion, type: strChoiceType, choices:strParmChoices }, function(data){ /* The callback on Ajax Request Complete */ alert(Data Loaded: + data); } ); I am not familiar with any built-in Json support jQuery may have, so the above method of passing parameters to the server seemed to be efficent for this request. ASP can pick apart the query string neatly. Json comes to mind when contemplating decoding the return data. Which would be easier? Encoding the data as a query string or as Json. Suggestions or comments? Sam -- http://www.cjordan.us
[jQuery] Re: Ajax Data Format Recommendation
Oops... I typed out my examples too fast. That first example of the data parameter should read: data: MyVar1= + myJSVar1 + MyVar2=SomeConstantString; I forgot the ampersand. *sheepish grin* Cheers, Chris Christopher Jordan wrote: Sam, Instead of $.get()... I'd use $.ajax(). Check out this post from Brian Ronk http://groups.google.com/group/jquery-en/browse_frm/thread/ec2eca0746d2d5f4/37389139ca16ab64?lnk=gstq=getJSON%28%29+or+post%28%29+parameter+questionrnum=1#37389139ca16ab64 on basically the same subject. Read my reply (#3), and see if that doesn't help. And while it doesn't talk about it, you can also pass arguments as a query string (without the leading '?'). The 'data' parameter of the $.ajax function would be something like: data: MyVar1= + myJSVar1 + MyVar2=SomeConstantString; as opposed to: data: {MyVar1:myJSVar1, MyVar2:SomeConstantString} Also the in-built supported dataTypes in the $.ajax() function are: html, json, xml, and script. Hope this helps. :o) Cheers, Chris SamCKayak wrote: I did a little Json and some XML using prototype last year. Now I have jQuery and need to pass about 4 string parameters to the server, query a database, and return about 4 string parameters. My current method to post the get is: $.get(../survey/postsurveytodb.asp, { surveyid: strSurveyId, question: strQuestion, type: strChoiceType, choices:strParmChoices }, function(data){ /* The callback on Ajax Request Complete */ alert(Data Loaded: + data); } ); I am not familiar with any built-in Json support jQuery may have, so the above method of passing parameters to the server seemed to be efficent for this request. ASP can pick apart the query string neatly. Json comes to mind when contemplating decoding the return data. Which would be easier? Encoding the data as a query string or as Json. Suggestions or comments? Sam -- http://www.cjordan.us -- http://www.cjordan.us
[jQuery] Re: Debugging jQuery
I downloaded it, and when I fire up the page I get a blue line near the bottom - not a panel with a blue border, just a blue line. When I mouse over the line it says shift-click to close No debug info either. This is in IE7. On May 21, 9:49 am, Ⓙⓐⓚⓔ [EMAIL PROTECTED] wrote: try the latest update athttp://jqueryjs.googlecode.com/svn/trunk/plugins/debug/ On 5/21/07, Ⓙⓐⓚⓔ [EMAIL PROTECTED] wrote: I think I do a better job with objects! Both simple and jQuerys. But I didn't even try timings. I show the same info as full firebug, with a mouseover/title of the dom node. I'll work on co-existence with firebug lite, so you would have $.log and console. routines together. On 5/20/07, Daemach [EMAIL PROTECTED] wrote: I mostly use it for the log and timing functions (time/timeend) since I can't get much else out of IE. You can't really dump any useful information to the console - objects just show as Object, so if you can do a better job with that, it would help a lot ;) I use the timing functions to compare performance between firefox and IE since there is no profiler. On May 20, 8:53 pm, Ⓙⓐⓚⓔ [EMAIL PROTECTED] wrote: Yes, It does some similar things, and steps all over firebug lite. Is there a feature in firebug lite that you really like? I'm sure I can incorporate it or make it more compatible. On 5/20/07, Daemach [EMAIL PROTECTED] wrote: Thanks Jake - new tools are always appreciated. Unfortunately, this plugin breaks firebug.js which is my only source of information in IE : ( http://www.getfirebug.com/lite.html On May 19, 9:39 pm, Ⓙⓐⓚⓔ [EMAIL PROTECTED] wrote: Get yer red-hot debugging... http://jqueryjs.googlecode.com/svn/trunk/plugins/debug/ I would like any feedback!! On 5/19/07, Ⓙⓐⓚⓔ [EMAIL PROTECTED] wrote: That was my goal, after I get feedback and make sure nobody has anything better!!! On 5/19/07, Brandon Aaron [EMAIL PROTECTED] wrote: Looks great Jake. How about adding it to jQuery Plugins SVN? -- Brandon Aaron On 5/19/07, Ⓙⓐⓚⓔ [EMAIL PROTECTED] wrote: over the months, I've re-written my debug library several times. I'm pretty happy with this one. based on code from all over the place! I hope you can all read the attached file. -- Ⓙⓐⓚⓔ - יעקב ʝǡǩȩ ᎫᎪᏦᎬ -- Ⓙⓐⓚⓔ - יעקב ʝǡǩȩ ᎫᎪᏦᎬ -- Ⓙⓐⓚⓔ - יעקב ʝǡǩȩ ᎫᎪᏦᎬ -- Ⓙⓐⓚⓔ - יעקב ʝǡǩȩ ᎫᎪᏦᎬ -- Ⓙⓐⓚⓔ - יעקב ʝǡǩȩ ᎫᎪᏦᎬ
[jQuery] Re: Regex experts: search/replace operations
I get hung up on the silliest things Thanks Dan ;) On May 21, 2:50 pm, Dan G. Switzer, II [EMAIL PROTECTED] wrote: This is a little off-topic, but when doing a regex search and replace within a text editor, how can I replace one character within a specific pattern? I want to get rid of newlines within td tags. This finds them: td[^]+(\r\n).+/td How do I specify that I only want to replace the matched set? You group all the contents and then the replacement string are all the matched sets pieced back together: sHtml.replace(/(td[^]+)(\r\n)(.+/td)/gi, $1$3) -Dan
[jQuery] Re: Regex experts: search/replace operations
Dan G. Switzer, II wrote: This is a little off-topic, but when doing a regex search and replace within a text editor, how can I replace one character within a specific pattern? I want to get rid of newlines within td tags. This finds them: td[^]+(\r\n).+/td How do I specify that I only want to replace the matched set? You group all the contents and then the replacement string are all the matched sets pieced back together: sHtml.replace(/(td[^]+)(\r\n)(.+/td)/gi, $1$3) If I got that right, you could even mark the second group to be skipped by adding a colon: sHtml.replace(/(td[^]+)(:\r\n)(.+/td)/gi, $1$2) Or just skip the parentheses? sHtml.replace(/(td[^]+)\r\n(.+/td)/gi, $1$2) -- Jörn Zaefferer http://bassistance.de
[jQuery] Re: Debugging jQuery
it's a blue border top. I wanted it to look different than most of the pages I write! When you start throwing in debug log calls, it fills up. and turns into a scrolling div. the little demo debug.html shows this. On 5/21/07, Daemach [EMAIL PROTECTED] wrote: I downloaded it, and when I fire up the page I get a blue line near the bottom - not a panel with a blue border, just a blue line. When I mouse over the line it says shift-click to close No debug info either. This is in IE7. On May 21, 9:49 am, Ⓙⓐⓚⓔ [EMAIL PROTECTED] wrote: try the latest update athttp://jqueryjs.googlecode.com/svn/trunk/plugins/debug/ On 5/21/07, Ⓙⓐⓚⓔ [EMAIL PROTECTED] wrote: I think I do a better job with objects! Both simple and jQuerys. But I didn't even try timings. I show the same info as full firebug, with a mouseover/title of the dom node. I'll work on co-existence with firebug lite, so you would have $.log and console. routines together. On 5/20/07, Daemach [EMAIL PROTECTED] wrote: I mostly use it for the log and timing functions (time/timeend) since I can't get much else out of IE. You can't really dump any useful information to the console - objects just show as Object, so if you can do a better job with that, it would help a lot ;) I use the timing functions to compare performance between firefox and IE since there is no profiler. On May 20, 8:53 pm, Ⓙⓐⓚⓔ [EMAIL PROTECTED] wrote: Yes, It does some similar things, and steps all over firebug lite. Is there a feature in firebug lite that you really like? I'm sure I can incorporate it or make it more compatible. On 5/20/07, Daemach [EMAIL PROTECTED] wrote: Thanks Jake - new tools are always appreciated. Unfortunately, this plugin breaks firebug.js which is my only source of information in IE : ( http://www.getfirebug.com/lite.html On May 19, 9:39 pm, Ⓙⓐⓚⓔ [EMAIL PROTECTED] wrote: Get yer red-hot debugging... http://jqueryjs.googlecode.com/svn/trunk/plugins/debug/ I would like any feedback!! On 5/19/07, Ⓙⓐⓚⓔ [EMAIL PROTECTED] wrote: That was my goal, after I get feedback and make sure nobody has anything better!!! On 5/19/07, Brandon Aaron [EMAIL PROTECTED] wrote: Looks great Jake. How about adding it to jQuery Plugins SVN? -- Brandon Aaron On 5/19/07, Ⓙⓐⓚⓔ [EMAIL PROTECTED] wrote: over the months, I've re-written my debug library several times. I'm pretty happy with this one. based on code from all over the place! I hope you can all read the attached file. -- Ⓙⓐⓚⓔ - יעקב ʝǡǩȩ ᎫᎪᏦᎬ -- Ⓙⓐⓚⓔ - יעקב ʝǡǩȩ ᎫᎪᏦᎬ -- Ⓙⓐⓚⓔ - יעקב ʝǡǩȩ ᎫᎪᏦᎬ -- Ⓙⓐⓚⓔ - יעקב ʝǡǩȩ ᎫᎪᏦᎬ -- Ⓙⓐⓚⓔ - יעקב ʝǡǩȩ ᎫᎪᏦᎬ -- Ⓙⓐⓚⓔ - יעקב ʝǡǩȩ ᎫᎪᏦᎬ
[jQuery] Re: OT: jQuery - Doctype - Quirkness
Nope, jQuery and most other javascript libraries (probably all of them) should work with almost any doctype. On 5/21/07, Fabien Meghazi [EMAIL PROTECTED] wrote: Hi all, Maybe this is a bit off topic, but I was wondering if a specific doctype should be used in order to build successfull apps with jQuery ? I know that doctypes can change the behviour of css rendering so I was wondering if there was a prefered doctype to use when working with jQuery ? -- Fabien Meghazi Website: http://www.amigrave.com Email: [EMAIL PROTECTED] IM: [EMAIL PROTECTED]
[jQuery] Ajax: ASP returns JSON to client
In ASP, I am building a JSON object and escape the data using Server.URLEncode(strParmChoices) It seems this encodes blanks as a plus sign +. Back in JavaScript, it looks like unescape(+) leaves the plus as a plus. I've band-aided the problem using unescape(json.strParmChoices).replace(/\+/g, ' '); /* replace all plusses with blanks */ Is there a better way to get this job done right? Sam
[jQuery] Re: Debugging jQuery
I understand, but the blue line starts off in the middle of the page - it looks very strange ;) It might be better if it starts off closed until it starts getting log calls. Can you have it available at console.log as well so I don't have to change all of my code? If I'm logging to firebug, that's what I use. On that note, if firebug is there and I use $.log will it log to the firebug console or yours? On May 21, 3:19 pm, Ⓙⓐⓚⓔ [EMAIL PROTECTED] wrote: it's a blue border top. I wanted it to look different than most of the pages I write! When you start throwing in debug log calls, it fills up. and turns into a scrolling div. the little demo debug.html shows this. On 5/21/07, Daemach [EMAIL PROTECTED] wrote: I downloaded it, and when I fire up the page I get a blue line near the bottom - not a panel with a blue border, just a blue line. When I mouse over the line it says shift-click to close No debug info either. This is in IE7. On May 21, 9:49 am, Ⓙⓐⓚⓔ [EMAIL PROTECTED] wrote: try the latest update athttp://jqueryjs.googlecode.com/svn/trunk/plugins/debug/ On 5/21/07, Ⓙⓐⓚⓔ [EMAIL PROTECTED] wrote: I think I do a better job with objects! Both simple and jQuerys. But I didn't even try timings. I show the same info as full firebug, with a mouseover/title of the dom node. I'll work on co-existence with firebug lite, so you would have $.log and console. routines together. On 5/20/07, Daemach [EMAIL PROTECTED] wrote: I mostly use it for the log and timing functions (time/timeend) since I can't get much else out of IE. You can't really dump any useful information to the console - objects just show as Object, so if you can do a better job with that, it would help a lot ;) I use the timing functions to compare performance between firefox and IE since there is no profiler. On May 20, 8:53 pm, Ⓙⓐⓚⓔ [EMAIL PROTECTED] wrote: Yes, It does some similar things, and steps all over firebug lite. Is there a feature in firebug lite that you really like? I'm sure I can incorporate it or make it more compatible. On 5/20/07, Daemach [EMAIL PROTECTED] wrote: Thanks Jake - new tools are always appreciated. Unfortunately, this plugin breaks firebug.js which is my only source of information in IE : ( http://www.getfirebug.com/lite.html On May 19, 9:39 pm, Ⓙⓐⓚⓔ [EMAIL PROTECTED] wrote: Get yer red-hot debugging... http://jqueryjs.googlecode.com/svn/trunk/plugins/debug/ I would like any feedback!! On 5/19/07, Ⓙⓐⓚⓔ [EMAIL PROTECTED] wrote: That was my goal, after I get feedback and make sure nobody has anything better!!! On 5/19/07, Brandon Aaron [EMAIL PROTECTED] wrote: Looks great Jake. How about adding it to jQuery Plugins SVN? -- Brandon Aaron On 5/19/07, Ⓙⓐⓚⓔ [EMAIL PROTECTED] wrote: over the months, I've re-written my debug library several times. I'm pretty happy with this one. based on code from all over the place! I hope you can all read the attached file. -- Ⓙⓐⓚⓔ - יעקב ʝǡǩȩ ᎫᎪᏦᎬ -- Ⓙⓐⓚⓔ - יעקב ʝǡǩȩ ᎫᎪᏦᎬ -- Ⓙⓐⓚⓔ - יעקב ʝǡǩȩ ᎫᎪᏦᎬ -- Ⓙⓐⓚⓔ - יעקב ʝǡǩȩ ᎫᎪᏦᎬ -- Ⓙⓐⓚⓔ - יעקב ʝǡǩȩ ᎫᎪᏦᎬ -- Ⓙⓐⓚⓔ - יעקב ʝǡǩȩ ᎫᎪᏦᎬ