[jQuery] Re: KFManager v1.0
Good job. Awesome! Cheers Marco Antonio On Tue, Aug 18, 2009 at 1:20 PM, Ken Phan kenpha...@gmail.com wrote: KFManager (Ken's File Manager) is a plugin of jquery. It uses AJAX to manage image files in a web browser and it was developed to help programmer gently in the file manager. It is easy to use demo http://trinhvietcuong.com/ken/index.html
[jQuery] Re: Is it possible to hide the destination URL of a link?
In your server side i'll create an encripted string to avoid user edition in the url. Looks like this: http://mysite.com?delete=trueid=123encriptedURL=WXObT4eqDq+8iij5MksGDdaqhttp://mysite.com/?delete=trueid=123encriptedURL=WXObT4eqDq+8iij5MksGDdaq encriptedURL variable contains the string delete=trueid=123 but in encripted format. After user click, your application will convert the query params and compare with encriptedURL content. It's the same, ok? Otherwise display a message. In ColdFusion I used this code to generate that encripted variable: cfset yourURL = 'delete=trueid=123' cfset yourURLEncripted = encrypt( yourURL, 'yourkey', 'CFMX_COMPAT', 'Base64' ) Cheers Marco Antonio On Fri, Jul 31, 2009 at 6:36 AM, Adrian Lynch adely...@googlemail.comwrote: I think you could do something like the following: a href=whatever you want in here class=id-123Delete/a script type=text/javascript $(a).click(function() { var id = $(this).attr(class).split(-)[1]; this.href = /?delete=trueid= + id; }); /script But this isn't really the solution you want to go with. Firstly, if you're using links to delete things, what happens if a bot somehow gets into your site and starts clicking on all those links? I've heard of people having there admin areas indexed by Google and all sorts of hell breaking lose! Make this sort of action happen via a POST request, not a GET. If in your application deletions should only be done by certain people, check this in your code before deleting. Secondly, to solve the issue of a refresh happening and causing an error, relocate back to the page after you have deleted the item. You're right to be worried about this, I know that if I saw a URL with ?action=deleteid=101 in, I'd be tempted to give ? action=deleteid=102, ?action=deleteid=103, ?action=deleteid=104 a try too! ;O) On Jul 31, 12:49 am, Anoop kumar V anoopkum...@gmail.com wrote: I have a menu, on which is a delete link. The URL of the link is quite plain:http://mysite.com?delete=trueid=123http://mysite.com/?delete=trueid=123 (quite obvious I think that the request is to delete the id=123) I wish to hide the destination URL in the browser from the user - so that it shows a harmless url like:http://mysite.com?#or http://mysite.com/?#orsimilar. The reasons are more aesthetic than anything else. Also the other advantage is once the user clicks on the link, and then hits on refresh, the request gets posted again and because the id=123 has already been deleted, it will just generate an error.. Does that make sense? I dont mind using ajax for this - but would love if I could get both options - ajax and non-ajax. Thanks, Anoop
[jQuery] Re: SOT: jQuery UI and AIR - write content to the file system
Awesome. Good job Andy. []s Marco Antonio On Mon, Jun 8, 2009 at 10:47 AM, Andy Matthews amatth...@dealerskins.comwrote: Just released a new blog post whereby I use jQuery draggable/droppable to write content to the user's file system. I'd love for some of you to check it out. http://andymatthews.net/read/2009/06/07/jQuery-and-AIR:-Writing-content-to-t he-file-system-via-drag-and-drophttp://andymatthews.net/read/2009/06/07/jQuery-and-AIR:-Writing-content-to-t%0Ahe-file-system-via-drag-and-drop Andy Matthews Senior Web Developer www.dealerskins.com P Please consider the environment before printing this e-mail. Total customer satisfaction is my number 1 priority! If you are not completely satisfied with the service I have provided, please let me know right away so I can correct the problem, or notify my manager Aaron West at aw...@dealerskins.com.
[jQuery] Re: jQuery barcode
This plugin could be very useful when jquery runs in server side. Today, with ColdFusion, we're creating reports with barcode inside using Java Barbecue library. Cheers Marco Antonio On Wed, Apr 29, 2009 at 1:28 PM, Ricardo ricardob...@gmail.com wrote: On Apr 29, 8:04 am, apaella apae...@gmail.com wrote: Hi all, I releades a new plugin for jquery named jQuery Barcode. http://code.google.com/p/jquery-barcode/ Works with Opera, Firefox3, IE8, Prism, Gecko-based browsers Could someone review it? Thanks! Does this have any use case besides printing? If not, what's the point in making it a jQuery plugin? (just curious).
[jQuery] How to prevent incremental ajax requests?
Hi all. I'm using this very simple script to load remote content inside a div: $(document).ready(function() { $(#frm :input:visible:enabled:first).focus(); $().ajaxStart($.blockUI).ajaxStop($.unblockUI); $('.carrega').click(function(){ var row = this; row.abbr = row.abbr + qtde= + $('#qtdeLotes').val(); $.ajax({ url: row.abbr, cache: true, dataType: 'html', success: function(data){ var $conteudo = trim12( data );// load content } }); return false; }); }); Very simple and very crazy. In my first click to load content works fine. In the second click jquery get 2 requests. And so on... What's wrong? Cheers
[jQuery] Re: how to check if a form has changed
Try this http://www.4guysfromrolla.com/demos/OnBeforeUnloadDemo3.htm Cheers Marco Antonio On 12/2/08, Sridhar [EMAIL PROTECTED] wrote: Hi, we are trying to give a feedback to the user if the user has changed some values in the form and tries to close the form with out saving the changes. is there a plug-in that can check this? or do I have to loop-through each control and check if the value has changed by comparing the value with the stored value in a hidden variable? If there is a standard way to do this, please let me know. we are using asp.net to create the forms Thanks, sridhar.
[jQuery] Re: Nice work UI team
Awesome! On Tue, Oct 14, 2008 at 12:37 PM, nono [EMAIL PROTECTED] wrote: I love jQuery.ui and work with dialogs. Nice work ui team! An example... http://dashboard.nonomartinez.com
[jQuery] Re: Can jQuery load from DOM?
Using this approach is possible to allow js file cache? Or in every page that js file needs to load again? Cheers Marco Antonio On Mon, Oct 6, 2008 at 2:54 PM, Michael Geary [EMAIL PROTECTED] wrote: Yes, you can do that. I'll bet the reason you're getting $ undefined is that you're trying to reference it immediately after running that code. The dynamic script element loads asynchronously, and as with all asynchronous JavaScript, you need to either use a completion callback function or a setInterval polling loop. The callback is a much better way to go. I don't think jQuery provides this out of the box, but it's easy to add to your own copy of jQuery. Simply add a line like this at the very end of the file: window.jQueryLoaded jQueryLoaded(); And define a jQueryLoaded function in your code: function jQueryLoaded() { $(function() { // go to town here! }); } Here's a working test case: http://mg.to/test/jquery/dynamic/jquery-dynamic.html -Mike From: jQuery(new).to(me) Hello, I am trying to load jQuery from Javascript like the following code. == code == if (typeof jQuery == 'undefined' || !jQuery) { var s = document.createElement('script'); s.setAttribute('type','text/javascript'); s.setAttribute('src','http://localhost/jquery-latest.min.js'http://localhost/jquery-latest.min.js%27 ); document.getElementsByTagName('head')[0].appendChild(s); } == end of code == However, then this code is included, jquery-latest.min.js is included, but the page shows javascript error, $ is not defined. Any tips to solve this problem?? Thanks bunch in advance!
[jQuery] Insert content in row
Hi all. I have this very simple content: tr td class=rowContent id=902_1200_2008United States/td /tr tr td class=rowContent id=104_500_2008Canada/td /tr When user clicks in any row i'll want to display the details about that row. I'm using this but without success: $('.rowContent').click(function(){ $.get(getCountryContent.cfm, { u: this.id }, function(data){ var $conteudo = trim12( data ); alert(Data Loaded: + trim12( data )); $( '#' + this.id ).html(trim12( data )).append(); }); }); This ajax response is an html table... What's wrong? Cheers Marco Antonio
[jQuery] Re: Insert content in row
Wonderful!!! Thanx p.s.: to avoid several appended content I used: $( '#' + this.id + '_injected' ).html(''); On Tue, Sep 30, 2008 at 3:39 PM, BB [EMAIL PROTECTED] wrote: Try this: $('.rowContent').click(function(){ var row = this; $.get(getCountryContent.cfm, { u: row.id }, function(data){ // this == the options for this ajax request var $conteudo = trim12( data ); alert(Data Loaded: + $conteudo); $( '#' + row.id ).append( $conteudo ); }); }); http://docs.jquery.com/Ajax/jQuery.get#urldatacallbacktype On 30 Sep., 20:27, Web Specialist [EMAIL PROTECTED] wrote: Hi all. I have this very simple content: tr td class=rowContent id=902_1200_2008United States/td /tr tr td class=rowContent id=104_500_2008Canada/td /tr When user clicks in any row i'll want to display the details about that row. I'm using this but without success: $('.rowContent').click(function(){ $.get(getCountryContent.cfm, { u: this.id }, function(data){ var $conteudo = trim12( data ); alert(Data Loaded: + trim12( data )); $( '#' + this.id ).html(trim12( data )).append(); }); }); This ajax response is an html table... What's wrong? Cheers Marco Antonio
[jQuery] tabs and form plugin integration
Hi all. I'm building a form which contains 4 sub-forms available like tabs. I'm looking for examples about how to integrate jquery tabs with form validation plugin. Cheers Marco Antonio
[jQuery] any jQuery plugin like this?
HI all. I'm using(in the last 3 years) a very good javascript Ajax integrated with ColdFusion and builded by this guys: http://eswsoftware.com/products/srs/example4.cfm Right now I'm wanting to convert that functionalities to jQuery. Do you know any jQuery plugin with that functionalities? Cheers Marco Antonio
[jQuery] [ANNOUNCE] Sourceforge uses jQuery
Sourceforge.net(http://sourceforge.net/?abmode=1) is a network which promotes open source software uses jQuery in a released website. SourceForge is the global technology community's hub for information exchange, open source software distribution and services, and goods for geeks. The network of media and e-commerce web sites serves more than 33 million unique visitors each month from around the world.* Cheers Marco Antonio
[jQuery] simpleTree with POST instead GET
Hi guys. Do you know how to use POST instead GET method for simpleTree( http://news.kg/wp-content/uploads/tree/dd/)? Cheers Marco Antonio
[jQuery] jQuery asynchronous responses
Hi guys. jQuery docs(http://docs.jquery.com/Ajax/jQuery.ajax#options) present jQuery.ajax option with asynchronous requests by default. Is it possible with jQuery to do asynchronous responses? I'll want to display asynchronous server side responses after submit a form. Cheers Marco Antonio
[jQuery] Re: Shadowbox 2.0rc1
Congratulations. Awesome and very powerful! Cheers Marco Antonio On Tue, Jul 1, 2008 at 2:40 PM, tlphipps [EMAIL PROTECTED] wrote: http://mjijackson.com/shadowbox/ On Jul 1, 12:37 pm, Glen Lipka [EMAIL PROTECTED] wrote: Is there a homepage for this plugin? I cant seem to find it. Glen On Tue, Jul 1, 2008 at 9:44 AM, Michael J. I. Jackson [EMAIL PROTECTED] wrote: If you're using the Shadowbox jQuery plugin, it has been updated. The new version features increased flexibility and stability for various media types. It also includes much better support for i18n and skinning. Just wanted to let you know in case you are using it.
[jQuery] Re: Dynamic forms and jQuery
Jorn haves a great job and can help you with: http://jquery.bassistance.de/validate/demo/dynamic-totals.html This example validates the dynamic added rows. Cheers Marco Antonio On Thu, May 15, 2008 at 4:13 PM, Spencer [EMAIL PROTECTED] wrote: I'm trying to create an order form where the user starts out with a single row of form inputs for entering quantity and part number. The user should be able to click the add row which creates the next row of form inputs. When all rows have been filled in, the the user will submit the form and the back-end PHP script will process the name / value pairs. Does anyone know of an example like this that I could learn from? Are there any jQuery plug-ins that might make working with dynamically adding form elements more streamlined? Thanks.
[jQuery] Re: looking for simple AIR-jquery ajax example
Andy, I'll very happy if you could send that code samples to me. Marco Antonio On Fri, May 2, 2008 at 2:20 PM, Andy Matthews [EMAIL PROTECTED] wrote: Jack... There's absolutely no difference in making an AJAX call via traditional browser based app vs an AIR app. I just completed a sort of one-way messaging app written in HTML/jQuery and it couldn't have been easier. Hit me up offlist and I'll be happy to provide code samples. andy -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jack Killpatrick Sent: Friday, May 02, 2008 12:17 PM To: jquery-en@googlegroups.com Subject: [jQuery] looking for simple AIR-jquery ajax example Hi All, I'm looking for a code example (or tutorial or working app with source) that shows how to use jquery-fired ajax calls in an Adobe AIR application, preferably showing how to do things in the Application Sandbox and the Non-Application sandbox. To clarify, I'm not looking for examples of how to use the AIR-native functions to make AJAX calls, I want examples using jquery's implementation (I have an app with a lot of jquery in it that I want to port to AIR). Any recommendations? TIA, Jack
[jQuery] Re: flexgrid plugin
Flexigrid is so good that creator site reach his bandwidth limit. Paulo Marinas, please change your bandwidth size. ;-) Cheers Marco Antonio On 4/22/08, bryanl [EMAIL PROTECTED] wrote: I'm looking for the flexgrid plugin that used to live at http://webplicity.net/flexigrid/. The site is down, and I really want to use it! Anyone know of a backup site or have an archive to send me?
[jQuery] jQuery Form Builder
Hi all After some search I found 2 examples about jQuery Form Builder: - http://www.phpletter.com/form_builder/demo.html - http://elpaso.homelinux.org/formbuilder/ All very nice but impossible to download form builded. Somebody knows another examples related to Form Builder in jQuery? Cheers Marco Antonio
[jQuery] flexigrid Internationalization - how to...
Hi, flexigrid(http://webplicity.net/flexigrid/) haves a very nice method for internationalization. Looking like this: buttons : [ {name: 'Add', bclass: 'add', onpress : confirmAddDelete}, {name: 'Delete', bclass: 'delete', onpress : confirmAddDelete}, ], searchitems : [ {display: Admin Code', name : 'cdAdmin'}, {display: 'Contract', name : 'nuContract'}, {display: 'Description', name : 'ClientName', isdefault: true} ], Please look 'display' in searchitems. Wonderful except buttons option. How to insert a 'display' item for internationalization in buttons option? Cheers Marco Antonio
[jQuery] Re: How do I use ColdFusion and jQuery variables for pagination?
Hi Rick. I have an app with ColdFusion and jQuery Flexigrid plugin to do pagination for large datasets. I'm using this approach: 1) using spSelectNextN stored procedure(SQL Server). This sp is a great job by Dan G. Switzer( http://blog.pengoworks.com/index.cfm/2006/6/19/MSSQL-2k-Stored-Procedure-for-Pagination ) 2) using Flexigrid plugin(http://webplicity.net/flexigrid/) With this your application will display only 10(15, 20, 50 etc) records/page. If you need examples please contact me. Cheers Marco Antonio On 4/10/08, Rick [EMAIL PROTECTED] wrote: Thanks, Josh... I'll work on that route. Rick On Apr 10, 4:48 pm, Josh Nathanson [EMAIL PROTECTED] wrote: Rick, if you have 10,000 records, I would say to not dump them all into the client. My suggestion would be to set everything up as if you were doing the pagination on the server using CF, and then change your pagination links so that they are intercepted, and used to do an ajax call to your CF template which retrieves the records. Your CF template could output the records as an html table and then send that html back to the client -- this html would be the argument in your ajax callback function, which would take the returned html and place it in the right place on the page. This is all independent of any plugins, just using straight jQuery and CF. Just as a rough outline... suppose your pagination link looks like a href=myCfTemplate.cfm class=paginate5/a (this would be to go to page 5 of the pagination). Your ajax call would look like something like: $(a.paginate).click(function() { $.get( this.href, $(this).text(), outputhtml ); return false; }); Where outputhtml is the function that takes the returned html and outputs it to the page. This would send the data 5 to your CF template as an url variable, which you could use to determine which records to get from the database. -- Josh - Original Message - From: Rick [EMAIL PROTECTED] To: jQuery (English) jquery-en@googlegroups.com Sent: Thursday, April 10, 2008 1:17 PM Subject: [jQuery] Re: How do I use ColdFusion and jQuery variables for pagination? Thanks for the reply, Josh... I think the part that I'm not understanding is the dump the whole query to the client and then the plugin takes care of the pagination. It also sounds like a memory and/or processor intensive way to get 20 records per page. If I have 10,000 records, I guess I would be getting and dumping all 10,000 records at once? I've considered taking the straight CF route with this, or perhaps using SQL to retrieve just the records I need. Would using CF or SQL be preferable for datasets composed of thousands of records? Rick On Apr 10, 3:31 pm, Josh Nathanson [EMAIL PROTECTED] wrote: Rick - I don't know how the pagination plugin that you're using works, but there may be some sort of before event that you can use to ajax some variables to your CF page. Your CF template would take these variables and use them to set the startrow and maxrow values and then send back the result. That said, not sure why you'd need to do that if you're doing pagination on the client side? The idea is that you dump the whole query to the client and then the plugin takes care of the pagination. -- Josh - Original Message - From: Rick Faircloth [EMAIL PROTECTED] To: jquery-en@googlegroups.com Sent: Thursday, April 10, 2008 12:19 PM Subject: [jQuery] How do I use ColdFusion and jQuery variables for pagination? Hi, all... I'm a bit confused about how to get variables from jQuery that I can use in my ColdFusion code. In typical CF pagination, I use startrow and maxrows variables to limit the query output. How would I get these variables from the jQuery? I just can't piece together what's happening. Below is the jQuery I'm currently using. The total number of records is set in the jQuery using the recordCount CF variable. Thanks for any help! Rick script type=text/javascript function pageselectCallback(page_id, jq){ $('#Searchresult').text(Showing search results +((page_id*20)+1)+-+((page_id*20)+20)); } $(document).ready(function(){ // Create pagination element $(#Pagination).pagination(cfoutput#get_properties.recordCount#/cfoutput, { items_per_page:20, num_edge_entries: 2, num_display_entries: 20, callback: pageselectCallback }); }); /script- Hide quoted text - - Show quoted text -- Hide quoted text - - Show quoted text -
[jQuery] Display ajax result in 2 divs
Hi all. I have a response from Ajax call and I'll want to display that in 2 divs(header and footer in my form). Now I'm using this terrible script: script function hideResponse() { $('#divResposta').hide(); $('#divResposta2').hide(); } $(document).ready(function() { hideResponse(); .. if(ajaxResponse == 3) success(); $('#divResposta').html(data.saida).show(); $('#divResposta2').html(data.saida).show(); Do you know how to change this code to looks more to jQuery(The write less, do more)? ;-) Cheers
[jQuery] Re: Display ajax result in 2 divs
Thanks upandhigh! Works like a charm with a class. Cheers Marco Antonio On Thu, Apr 10, 2008 at 9:48 AM, upandhigh [EMAIL PROTECTED] wrote: but better to put them into on class div class='update_em'/div div class='update_em'/div $('.update_em').html(data.saida).show(); then you don't need container + you can put them into separate parts on the page On Apr 10, 3:16 pm, Web Specialist [EMAIL PROTECTED] wrote: Hi all. I have a response from Ajax call and I'll want to display that in 2 divs(header and footer in my form). Now I'm using this terrible script: script function hideResponse() { $('#divResposta').hide(); $('#divResposta2').hide(); } $(document).ready(function() { hideResponse(); .. if(ajaxResponse == 3) success(); $('#divResposta').html(data.saida).show(); $('#divResposta2').html(data.saida).show(); Do you know how to change this code to looks more to jQuery(The write less, do more)? ;-) Cheers
[jQuery] Re: flexigrid plugin - help for server side script
Thanks Paulo. I'll try again to migrate to ColdFusion. Cheers On Fri, Mar 28, 2008 at 4:50 PM, Paulo [EMAIL PROTECTED] wrote: Hi, This is the developer of the Flexigrid, still a little busy on a project, but I updated the site with a sample php code. Hope that helps. License: its free to use for commercial or personal. On Mar 24, 8:13 am, Web Specialist [EMAIL PROTECTED] wrote: Flexigrid(http://webplicity.net/flexigrid/) is a very nice grid plugin with several awesome features. I like it, really. But plugin developer doesn't show us your server side php script to pagination. I'll want to migrate that code to ColdFusion. If developer listens me please show us that script. Cheers
[jQuery] flexigrid plugin - help for server side script
Flexigrid(http://webplicity.net/flexigrid/) is a very nice grid plugin with several awesome features. I like it, really. But plugin developer doesn't show us your server side php script to pagination. I'll want to migrate that code to ColdFusion. If developer listens me please show us that script. Cheers
[jQuery] Masked plugin - AC000000805UK
Hi all. Masked plugin is awesome. Great. But I found a little problem: using masked plugin and autotab plugin in the same page make masked plugin to autotab before user enters your data. Please look this example: ... $(#dsZIP).mask(9-999); form input type=text name=dsZIP id=dsZIP size=30 maxlength=9 In this example when user inserts your first number in that form autotab understand to jump to the next field because dsZIP field is filled(with underscore characters). Anyone knows how to correct this? Cheers
[jQuery] jqGrid with SQL Server version
Hi all. Tony, jqgrid creator, did a good job with that great plugin. Using LIMIT clause supported by MySQL is very easy for records pagination. Does anyone have a SQL Server 2000 version working with that plugin? Cheers
[jQuery] Re: jquploader 2 alpha 1 - rich file upload dialog plugin - please test and help
Alexandre, very nice. I'm using FF 2.0.0.11 WinXP. My suggestion is verify when user includes the same file in the 2 file input. SWFUploader displays a message. Cheers 2008/1/31, Alexandre Plennevaux [EMAIL PROTECTED]: Hello friends, I am working on the new version of jqUploader, a plugin that allows to replace the file inputs in a form for a more user-friendly file upload dialog via the use of an invisible flash object. The new version allows for full customization via CSS and html, instead of having to tweak the flash file. I've pretty much finished a working prototype (still need to implement all the customizable options). It works well on WinXP FF2. WARNING: THIS IS ALPHA STUFF NOT TO BE USED IN PRODUCTION YET demo is here: http://www.pixeline.be/experiments/jqUploader/v2/ I have 2 requests: query.jquploader2.jshttp://www.pixeline.be/experiments/jqUploader/v2/jquery.jquploader2.js 1/ can you test on your side and (especially mac users) let me know if the test works or not for you. 2/ for plugin experts: if you look at the code i use functions that i would like that the user be able to modify, but i don't know exactly how to do that. For the moment, the js functions called by flash are sitting outside of the plugin loop. What would be the good way to allow users to modify what these function do? Basically their task is to update the html according to the flash events. The code is here: Thank you for your time, Alexandre -- Alexandre Plennevaux LAb[au] http://www.lab-au.com
[jQuery] Re: [PLUGIN] jqGirdView - Excellent Grid Plugin by Victor Bartel
Nice. May be this plugin creator could be allow json instead xml. Cheers 2007/12/9, Eridius [EMAIL PROTECTED]: Yea it is pretty nice, has most of the ExtJS grid functionality. I know there was another grid for jQuery but this one looks a little better. Rey Bango-2 wrote: Haven't seen this once announced anywhere but I'm really impressed by the looks and functionality: http://creamarketing.net/Products/jqGridView/Demos/tabid/59/Default.aspx Very impressive work. General feautres: * Column resizing. * Server-side sorting. * Server-side paging. * Server-side filtering. * 100% XML support. * Inline row edit. * Columns templates. Code and theme can be found here: http://sourceforge.net/projects/jqgridview/ Rey... -- View this message in context: http://www.nabble.com/-PLUGIN--jqGirdView---Excellent-Grid-Plugin-by-Victor-Bartel-tp14235623s27240p14238020.html Sent from the jQuery General Discussion mailing list archive at Nabble.com .
[jQuery] Jörn's Form Validation - remote clause
Hi all. Jörn makes a great(like always) job with your Form Validation and remote clause(http://jquery.bassistance.de/ajax-validation/demo-test/milk/). With remote clause is possible to validate every field with server side routines. Nice. But I'll want to display the submit button only after all fields are validated and correct. How to know when a form is OK? Cheers
[jQuery] Validation with Jorn's Validation Plugin - zero
Hi all I have to validate a form with required fields. Super easy with Jorn's Form Validation Plugin. But how to avoid user to insert number 0(zero) in that fields? Cheers
[jQuery] Re: Validation with Jorn's Validation Plugin - zero
Thanks Jörn. I already do this to validate 2 required fields with different values between. I'll try... Cheers 2007/11/28, Jörn Zaefferer [EMAIL PROTECTED]: Web Specialist schrieb: Hi all I have to validate a form with required fields. Super easy with Jorn's Form Validation Plugin. But how to avoid user to insert number 0(zero) in that fields? You can write your own validation methods: http://docs.jquery.com/Plugins/Validation/Validator/addMethod#namemethodmessage In that case you may want to use the required method and add a custom method that checks for invalid content. Jörn
[jQuery] jQuery minified size could be wrong?
jQuery page allows us to download jQuery minified and Gzipped with 14.1kbusing this link: http://code.google.com/p/jqueryjs/downloads/detail?name=jquery-1.2.1.min.js But after download it that plugin haves 46kb. John, what's wrong? Cheers Marco Antonio
[jQuery] Re: TableCloth
403 Forbidden You don't have permission to access /stuff/jquery/tablehover/ on this server. 2007/11/20, Cloudream [EMAIL PROTECTED]: http://p.sohei.org/stuff/jquery/tablehover/ On Nov 20, 7:18 am, shapper [EMAIL PROTECTED] wrote: Hello, I have found a really good script for row and column hightlight, maybe the best one I saw until now:http://cssglobe.com/lab/tablecloth/ Is there something as good as this using JQuery? And is there any advantage of making this code using JQuery? Thanks, Miguel
[jQuery] Re: TableCloth
This link works fine: http://p.sohei.org/jquery-plugins/ 2007/11/19, shapper [EMAIL PROTECTED]: Hello, I have found a really good script for row and column hightlight, maybe the best one I saw until now: http://cssglobe.com/lab/tablecloth/ Is there something as good as this using JQuery? And is there any advantage of making this code using JQuery? Thanks, Miguel
[jQuery] Re: ajaxContent plugin
Andrea, very nice. Do you have plan to create a ColdFusion custom tag to encapsulate this plugin? Cheers Marco Antonio 2007/11/11, [EMAIL PROTECTED] [EMAIL PROTECTED]: Hi I post here to share a piece of code that I am starting to use daily to perform easy ajax calls. The plugin refers to an A tag and use the Href attributes to make the call filling up a #ajaxContent div on the page with the server resposnse. The plugin manage: 1) the display of a loading message ( an img if you want ) 2) the error message ( cutomizable) display if needed 3) the call of course 4) the loading data in the div 5) the event is click but is customizable as you prefer as of course the target element. Is nothing special nut I love to set up my standard ajax like thi: $('.ajax').ajaxContent(); and let the plugin do the work for me. An example/APi is available here: http://www.andreacfm.com/examples/ajaxContent/ let me have your feedback Andrea
[jQuery] Re: For Brazilians jQuery Developers
Alexandre legal hein? O único problema: a validação não é feita com o Validation Plugin do Jorn, né? Com isso para mim fica meio difícil usar a sua estratégia. Marco Antonio Em 01/11/07, alexanmtz [EMAIL PROTECTED] escreveu: Sorry everyone, the right link is http://www.alexandremagno.net/portfolio_dev/site/contato there is a complete form validation send via ajax. On Oct 31, 10:32 pm, alexanmtz [EMAIL PROTECTED] wrote: O que vocês estavam querendo é isso: http://www.alexandremagno.net/portfolio_dev/contato ? Tente postar violando alguma regra de validação e depois enviem... Eu tinha desenvolvido um script assim e estou escrevendo ele para o blog... On 31 out, 08:25, Jean [EMAIL PROTECTED] wrote: Bom eu tinha um questionario que deixava uma mensagem de Aguarde enquanto validava, mas não era pa nenhuma faculdade, apesar que o questionario era p/ pos do meu chefe =p On 10/30/07, Web Specialist [EMAIL PROTECTED] wrote: Abacaxi, obrigado pelo comentário mas no caso daquela mensagem o desenvolvedor comentava sobre outra coisa. Fui descobrir o esquema da mensagem bisbilhotando o código fonte dele. Marco Antonio Em 30/10/07, abacaxi [EMAIL PROTECTED] escreveu: Antonio, pesquise por loading message aqui ou em http://jquerybrasil.com/forum/lofiversion/index.php ph On Oct 30, 2:50 pm, Web Specialist [EMAIL PROTECTED] wrote: I'm here to ask to a brazilian jQuery developer about a form validation example published here days ago. Outro dia um desenvolvedor brasileiro nos mostrou um exemplo aqui de uma validação onde ele apresenta uma tela de AGUARDE... no momento da chamada da validação do formulário(usando Jorn Form Validation). Alguém se lembra desse post? Eu queria ver novamente aquele exemplo que achei bastante interessante. Se não me falha a memória era um form de uma universidade do estado do Paraná. Obrigado. Marco Antonio -- []´s Jeanwww.suissa.info Ethereal Agencywww.etherealagency.com
[jQuery] Jorn's Validation Plugin - how to know if occurs a form field error?
Hi all anyone using Jorn's Form Validation could help me? I'll need to know if exists an error in a form field. With this information I could be hide a Please Wait... message. Thanks Marco Antonio
[jQuery] Form Validation Plugin - animating errorContainer
Hi all how to animate errorContainer message with Form Validation plugin? I have this code and I'll want to animate it when occurs an error in my form: $(#frm).validate({ ... errorContainer: $(#messageBox), ... inside my form: div id=messageBox h5 class=msgerrThis form contains errors. Please try again!/h5 /div Thanx. Marco Antonio
[jQuery] For Brazilians jQuery Developers
I'm here to ask to a brazilian jQuery developer about a form validation example published here days ago. Outro dia um desenvolvedor brasileiro nos mostrou um exemplo aqui de uma validação onde ele apresenta uma tela de AGUARDE... no momento da chamada da validação do formulário(usando Jorn Form Validation). Alguém se lembra desse post? Eu queria ver novamente aquele exemplo que achei bastante interessante. Se não me falha a memória era um form de uma universidade do estado do Paraná. Obrigado. Marco Antonio
[jQuery] Jorn's Form Validation ErrorPlacement
Hi all in Jorn's Form Validation example page( http://jquery.bassistance.de/ajax-validation/demo-test/milk/) is presented a form with 2 radio buttons. Jorn uses this approach(next next) to display error message: errorPlacement: function(error, element) { if ( element.is(:radio) ) error.appendTo( element.parent().next().next() ); My question: how to display an error message after the last(I don't know the number of radio buttons) radio field named 'rIngredient'? Marco Antonio
[jQuery] Re: For Brazilians jQuery Developers
Abacaxi, obrigado pelo comentário mas no caso daquela mensagem o desenvolvedor comentava sobre outra coisa. Fui descobrir o esquema da mensagem bisbilhotando o código fonte dele. Marco Antonio Em 30/10/07, abacaxi [EMAIL PROTECTED] escreveu: Antonio, pesquise por loading message aqui ou em http://jquerybrasil.com/forum/lofiversion/index.php ph On Oct 30, 2:50 pm, Web Specialist [EMAIL PROTECTED] wrote: I'm here to ask to a brazilian jQuery developer about a form validation example published here days ago. Outro dia um desenvolvedor brasileiro nos mostrou um exemplo aqui de uma validação onde ele apresenta uma tela de AGUARDE... no momento da chamada da validação do formulário(usando Jorn Form Validation). Alguém se lembra desse post? Eu queria ver novamente aquele exemplo que achei bastante interessante. Se não me falha a memória era um form de uma universidade do estado do Paraná. Obrigado. Marco Antonio
[jQuery] Re: Validation rule for Joerns' Plug-in...
Rick I'm using Jorn's Form Validation plugin and this approach works fine: select name=Category id=Category title=Please select something validate=required:true option value=Choose a category/option option value=Automotive/option option value=Medical/option /select Cheers Marco Antonio 2007/10/27, Rick Faircloth [EMAIL PROTECTED]: Hi, all… Quesiton: How to validate the selection for a drop-down select input? If choices are: 1 – Choose Category (This is the default selection) 2 – Automotive 3 – Medical If the user doesn't change from 1 – Choose Category I want an error message instructing them to choose a category. Something like: rules: { trans_category { not equal to: 'Choose Category' } } messages: { trans_category { not equal to : Please choose a category} } Anyone have the answer off the top of their head? Thanks, Rick
[jQuery] Re: Validation rule for Joerns' Plug-in...
Sorry. select name=Category id=Category title=Please select something validate=required:true option value=Choose a category/option option value=2Automotive/option option value=3Medical/option /select 2007/10/27, Web Specialist [EMAIL PROTECTED]: Rick I'm using Jorn's Form Validation plugin and this approach works fine: select name=Category id=Category title=Please select something validate=required:true option value=Choose a category/option option value=Automotive/option option value=Medical/option /select Cheers Marco Antonio 2007/10/27, Rick Faircloth [EMAIL PROTECTED]: Hi, all… Quesiton: How to validate the selection for a drop-down select input? If choices are: 1 – Choose Category (This is the default selection) 2 – Automotive 3 – Medical If the user doesn't change from 1 – Choose Category I want an error message instructing them to choose a category. Something like: rules: { trans_category { not equal to: 'Choose Category' } } messages: { trans_category { not equal to : Please choose a category} } Anyone have the answer off the top of their head? Thanks, Rick
[jQuery] Re: Validation triggering based on radio button value
Jorn's Form Validation could be this job with related option. Please look example page: http://jquery.bassistance.de/validate/demo-test/ and you could see relation between I'd like to receive... and Topics. Source code: topic: { required: #newsletter:checked, minLength: 2 }, Cheers Marco Antonio 2007/10/24, wattaka [EMAIL PROTECTED]: I have a set of radio buttions to select different fields in a form, how can I trigger the validation of these text fields based on the value of the radio buttons? thanks
[jQuery] Re: jQuery Datagrid Plugin v.7
Matt, congratulations!!! Very very very nice grid plugin. Your ajax for server side content and pagination is really awesome. Cheers Marco Antonio 2007/10/3, reconstrukt [EMAIL PROTECTED]: Hey all, I just released Just finished the initial release of my datagrid plugin. I named her Ingrid. :) Features in this release: - resizable columns - paging toolbar - sorting (server-side) - row column styling The goal here is to give jQuery a robust, native datagrid that's up to snuff with those found in the EXT or YUI libraries. Check it out here: http://www.reconstrukt.com/ingrid/ Thanks much Matt
[jQuery] Re: Validation plugin noob
I'm using Dan G Switzer approach to show error messages. Looks like this: // para qualquer campo no form de nome frm adiciona um evento onfocus // for any field in your form with name frm adds an onfocus event $(#frm input).focus( function (){ // remove a class de erro do campo // remove error class to the field $(this).removeClass(error); // para campos checkbox e radio o nome do label deve ser igual ao nome do campo e igual ao // atributo id para todos os outros campos // for checkbox and radio fields , label name needs to be equal to the field var sLabelName = ($(this)[0].type == checkbox || $(this)[0].type == radio) ? $(this)[0].name : $(this)[0].id ; // oculta a mensagem de erro para o campo atual // hides error message for the actual field $([EMAIL PROTECTED] + $(this)[0].name + [EMAIL PROTECTED]).hide(); } ); Cheers Marco Antonio 2007/9/28, Josh Nathanson [EMAIL PROTECTED]: Hi Rick, That was the first thing I tried, it didn't work. Then it seemed to say in the docs that the label element would be created for you, and placed after the input field, so I took out the label markup, and that also didn't work. I know I've got the js file included correctly, and it's doing *something*, because when I set debug = true, the form doesn't submit. -- Josh - Original Message - From: Rick Faircloth [EMAIL PROTECTED] To: jquery-en@googlegroups.com Sent: Friday, September 28, 2007 12:55 PM Subject: [jQuery] Re: Validation plugin noob Hi, Josh... In your HTML, did you specify a place for the error message to appear? This is from Jorn's example: label for=firstnameFirstname/label input id=firstname name=firstname / I handle my error messages a little different than the example above, preferring my error messages above the input field. If I'm not mistaken I believe you're going to need a label... field for the default messages to appear. Hopefully someone will come along who can tell you for sure. But check's Jorn's source on: http://jquery.bassistance.de/validate/demo-test/ And it may give you some clues about how the HTML works. Rick -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Josh Nathanson Sent: Friday, September 28, 2007 3:18 PM To: jquery-en@googlegroups.com Subject: [jQuery] Validation plugin noob Hey all, Using Jorn's Validation plugin, it's not displaying the error message. I must be missing something obvious. I'm just trying a test - it seems like when I submit, if the field is empty, it should display an error message after the input field. What am I doing wrong? JS: $(#editform).validate({ rules: { FirstName : required }, messages: { FirstName : Please enter your first name. }, debug: true }); Markup: input type=Text size=30 name=FirstName id=FirstName value= class=formfield maxlength=50 -- Josh
[jQuery] Re: Validation plugin - alphanumeric password with min length
Jörn marketo form accepts a password with 6 numbers. But rule for that require numeric and letters, right? Could be a bug? Cheers 2007/9/22, Jörn Zaefferer [EMAIL PROTECTED]: voltron schrieb: Hi, has anyone written a validator to check for alphanumeric values and a min length for the validator plug in? Take a look at this demo: http://dev.jquery.com/view/trunk/plugins/validate/demo-test/marketo/ It uses a custom method for the password, you can find it right at the top here: http://dev.jquery.com/view/trunk/plugins/validate/demo-test/marketo/mktSignup.js jQuery.validator.addMethod(password, function( value, element, param ) { var result = this.optional(element) || value.length = 6 /\d/.test(value) /\w/.test(value); if (!result) { element.value = ; var validator = this; setTimeout(function() { validator.blockFocusCleanup = true; element.focus(); validator.blockFocusCleanup = false; }, 1); } return result; }, Your password must be at least 6 characters long and contain at least one number and one character.); -- Jörn
[jQuery] Re: jQuery Forms for COLDFUSION
Very good. But I choose another Jorn's approach to declare rules and messages: rules: { conta__cia: { required: true }, ... messages: { conta__cia: Please insert the cia, This is a personal choice, of course. But could be very difficult to create a Custom Tag working like this(insert header code for rules and messages and code for form fields). Cheers 2007/9/17, Rick Faircloth [EMAIL PROTECTED]: Well done! Rick -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Monday, September 17, 2007 3:31 PM To: jQuery (English) Subject: [jQuery] jQuery Forms for COLDFUSION pThe version 1.0 of the Ctag based on the powerfull forms plugin of Jquery has been released./p pSome of the features/p ul liPlace how many forms you need in the same page and set different behaviour for any of them. The tag will load the needed JS and write the jQuery statement for you/li liChoose where to place the error validation message (inline or in a separate box)/li liChoose between the incredible wide validation rules of the validation.js plugin. See the full a href=http:// jquery.bassistance.de/api-browser/plugins.html#validateMap/API/a /li liUse Ajax submit simply adding AJAX=true attributes/li liPlace the target content that will load the ajax response anywhere in the page using the brother cfJq_forms_target Ctag/li liCombine the validation and ajax behaviour without any restricion/ li /ul pSo just have a test and let me know/p h3 class=downa href=www.andreacfm.com/examples/ cfJq_forms/Examples Page/h3 pFull API coming soon/p
[jQuery] Re: New plugin - Linked Selects
David, @Web Specialist Only one susggestion: including a cache option in call function. Do you mean like caching the DB queries? No. I'm talking about cache returned data call. No server side. Jorn's autocomplete plugin works with cache content. Please look this plugin to know about: http://bassistance.de/jquery-plugins/jquery-plugin-autocomplete/ Definition for cache content in autocomplete plugin: cacheLength (Number): The number of backend query results to store in cache. If set to 1 (the current result), no caching will happen. Do not set below 1. Default: 10 Cheers 2007/9/15, Rob D [EMAIL PROTECTED]: Hi, Thank you to everyone for the positive feedback, its much appreciated. @ David Is it possible to remove the value of children selects? Great suggestion, I will look into this when time permits. Please put in arhive full code(database) I have updated the archive to include the database abstraction I use, plus added an alternative select.php file that uses php's mysql functions directly. I have also made available a dump of the database tables used in the demo. http://www.msxhost.com/jquery/linked-selects/json/ @Web Specialist Only one susggestion: including a cache option in call function. Do you mean like caching the DB queries? Kind regards Rob
[jQuery] Re: New plugin - Linked Selects
Great job Rob. Clear and simple. Really nice your technique: (function(){ $('#country').linkedSelect('select.php?search=country','#state',{firstOption: 'Please Select A State'}); $('#state').linkedSelect('select.php?search=state','#city',{firstOption: 'Please Select A City', loadingText: 'Loading Please Wait...'}); }); Very intuitive! Only one susggestion: including a cache option in call function. Cheers 2007/9/15, Rob D [EMAIL PROTECTED]: Hi, Sometime ago I built my first plugin called linkedSelects and I would finally like to announce it to the list. You can see it in action and download the code here: http://www.msxhost.com/jquery/linked-selects/json/ I have only been able to test it in the latest versions of Firefox and IE. I would like to thank Remy Sharp for the initial idea, Joel Birch for some pointers on building plugins and especially my good friend Shelane Enos for the collaboration. I would appreciate any feedback in the way of suggestions and improvements. Have a great weekend everyone... Rob
[jQuery] Re: Autocomplete on the contents of a table: how to?
Andy, nice! Only one question: how to convert your solution to search for case insensitive and using SQL LIKE clause? 2007/9/13, Andy Matthews [EMAIL PROTECTED]: Giovanni... That's exactly what I'd like to do! However, I decided to have a go at it and this is what I came up with: http://www.commadelimited.com/code/filter It does exactly what I need. I'm sure there's a better way of doing things (and I'd LOOVE to hear from you guys), but it works and I'm happy. My boss will be super happy too. If any of you gurus see this, I'd love to get your suggestions or even just critiques. This is the first type of code like this that I've written. On Sep 13, 5:05 pm, Giovanni Battista Lenoci [EMAIL PROTECTED] wrote: Don't know if is what are you looking for, but have you take a look at this plugin? http://ideamill.synaptrixgroup.com/?page_id=16 Bye
[jQuery] Re: Autocomplete on the contents of a table: how to?
Thanks. Good idea! 2007/9/14, Andy Matthews [EMAIL PROTECTED]: it is case insensitive...sort of. I convert both the string in the table cell, and the string inside the text box to uppercase before comparing them. As for the like search, look at this line: if ( !contents.match('^' + string) ){ That tells the search to start at the beginning of the string. IF you want to find the text from the text box anywhere in the table cell, change it to this: if ( !contents.match(string) ){ On Sep 14, 6:05 am, Web Specialist [EMAIL PROTECTED] wrote: Andy, nice! Only one question: how to convert your solution to search for case insensitive and using SQL LIKE clause? 2007/9/13, Andy Matthews [EMAIL PROTECTED]: Giovanni... That's exactly what I'd like to do! However, I decided to have a go at it and this is what I came up with: http://www.commadelimited.com/code/filter It does exactly what I need. I'm sure there's a better way of doing things (and I'd LOOVE to hear from you guys), but it works and I'm happy. My boss will be super happy too. If any of you gurus see this, I'd love to get your suggestions or even just critiques. This is the first type of code like this that I've written. On Sep 13, 5:05 pm, Giovanni Battista Lenoci [EMAIL PROTECTED] wrote: Don't know if is what are you looking for, but have you take a look at this plugin? http://ideamill.synaptrixgroup.com/?page_id=16 Bye- Hide quoted text - - Show quoted text -
[jQuery] yav plugin could be use Jorn's approach
Yav jquery plugin( http://letmehaveblog.blogspot.com/2007/08/easy-client-side-web-forms-validations.html) is a very nice form validation. Really! But I'll want to suggest Sevir to, if possible, use Jorn's approach separating messages and rules. Yav works like: input class=required alphanumeric id=username title= Please write only alphanumeric characters, this field is required. name= username and Jorn's Form Validation plugin works like: rules: { age_co_agen: { required: true }, raz_co_raz: { required: true }, ... messages: { age_co_agen: Please provide an agent, raz_co_raz: Please enter with raz , ... For me Jorn's looks better for maintenance and haves a very clear code. Cheers
[jQuery] Re: jquery 1.2 feedback
Hey Rey: what's Purple Include? 2007/9/11, Alexandre Plennevaux [EMAIL PROTECTED]: Rey, let's see if u r really the speedmaster _ like, could you say ten time really fast: I tweaked the ternary conditions across a same origin dynamic object literal expression while templating the script using Purple Include like techniques ? :D -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Rey Bango Sent: mardi 11 septembre 2007 22:44 To: jquery-en@googlegroups.com Subject: [jQuery] Re: jquery 1.2 feedback Well, if John won't take credit for the speed increases, then, I WILL Yeah, I tweaked the ternary conditions across a same origin dynamic object literal expression while templating the script using Purple Include like techniques. That's what sped it up! Enjoy! ;) Rey... John Resig wrote: just wanted to report that i had absolutely not a single issue switching from 1.1.4 to 1.2 and i use tons of plugins. The speed gain for me is more obvious with this release than with the move from 1.1.3 to 1.1.4. Also, animations and effects are smoother. Interesting - I've now heard this at least 3 times now - that there have been significant speed ups in 1.2. I find this particularly interesting because I didn't make any intentional speed tweaks - I was purely adding features. I wonder what I changed to cause this to occur! Thus, so far so good and congratulation to the whole team for this slick, steel-solid library ! I'm really broke for the moment, but it's been a while i last donated to the project, and as soon as i see an extra, you'll get my renewed thank you in financial terms. :-) Anything is appreciated - thanks! --John Ce message Envoi est certifié sans virus connu. Analyse effectuée par AVG. Version: 7.5.485 / Base de données virus: 269.13.14/999 - Date: 10/09/2007 17:43
[jQuery] Re: jquery 1.2 feedback
I'm using Jorn's Form Validation in a monster form. Using jQuery 1.2minified version returns all validation in =~ 16 sec. Using uncompressed version returns in 6 sec. Comparing with an older version I don't have any improvement. Cheers 2007/9/11, Tom Sieroń [EMAIL PROTECTED]: On 9/12/07, Justin Sepulveda [EMAIL PROTECTED] wrote: Curious, would the speed increases come from using the minified version verses the packer version? I've recently stumbled upon such an opinion : http://www.julienlecomte.net/blog/2007/08/21/gzip-your-minified-javascript-files/ Could someone in the know please comment on the possible overhead for unpacking and eval'ing mentioned in this article? Better to minify or to pack (regarding execution time, not the download time and/or bandwidth load)? -- Tom Sieron. Skype: tom.sieron :: GG 590961 :: T +48 505 034 253 http://www.linkedin.com/pub/dir/tom/sieron
[jQuery] Disabling ctrl+v(paste) in forms with jquery
I'm looking a script to disable users to paste content in forms using ctrl+v. How to avoid that? Cheers
[jQuery] Re: [Plugin] Password Strength Meter
Very very good. Awesome! 2007/8/20, Tane Piper [EMAIL PROTECTED]: Hi Folks, Please find another one of my plugins here: http://jquery.com/plugins/project/pstrength This is a simple plugin that allows you to attach a client side password strength meter to any form element. You can check out a demo and documentation here: http://digitalspaghetti.me.uk/index.php?q=jquery-pstrength The password at the moment is quite simple in it's input and output, but I'll be improving it. At the moment, the algorithm for calculating password strength can be a litte flaky. -- Tane Piper http://digitalspaghetti.me.uk This email is: [ x ] blogable [ ] ask first [ ] private
[jQuery] Re: ColdFusion tag for Tabs
Thanks Klaus. 2007/8/17, Andy Matthews [EMAIL PROTECTED]: I got it. -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Klaus Hartl Sent: Friday, August 17, 2007 4:10 AM To: jquery-en@googlegroups.com Subject: [jQuery] Re: ColdFusion tag for Tabs Klaus Hartl wrote: jQuerians and ColdFusionistas! Andrea Campolonghi wrote me an email the other day: I played a bit with your plug-in ( very nice ) and I made up a ColdFusion Custom Tag for an easy implemntation of your plg-in in CF. I am a CF developer learning jQuery ( really impressed from the library). There's no blog yet so I'm just posting it here! I don't understand much of ColdFusion, hope it is useful! It seems the attachment has been blocked? --Klaus
[jQuery] Re: ColdFusion
I'm one of... 2007/8/16, Andy Matthews [EMAIL PROTECTED]: Andrea... Please post them. There's actually quite a few ColdFusion developers on this list and I'm sure that some of them could make use of your custom tag. -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Thursday, August 16, 2007 12:53 PM To: jQuery (English) Subject: [jQuery] ColdFusion Hi, I am just arrived in this maillist and in Jquery.and it was a bad choice to wait so long for strating with the amazing jQuery. I wrote down a set of custom tag for easy implementation in CF of the Klaus Hartl Tab Plug-In. If someone is interested to that and to exchange CF implementatio of jquery library please send me a mail. Bye Andrea
[jQuery] Re: pagination
http://www.trirand.com/blog/?p=11 2007/8/12, voltron [EMAIL PROTECTED]: Hi! this is cool, could you post the main site to this plugin? I would like to see the docs Thanks On Aug 10, 10:43 pm, Web Specialist [EMAIL PROTECTED] wrote: Eridius jqGrid could be an option for you: this plugin haves a very nice pagination(recordset) example using ajax: http://trirand.com/jqgrid/jqgrid.html Cheers 2007/8/10, Benjamin Sterling [EMAIL PROTECTED]: I did not notice that, my bad. Not sure if there is one that works with ajax. On 8/10/07, Eridius [EMAIL PROTECTED] wrote: Form what i have been told, this only works for placing data in divs and i need one that work with ajax. bmsterling wrote: http://rikrikrik.com/jquery/pager/#examples On 8/10/07, Eridius [EMAIL PROTECTED] wrote: I was wonding is a plug exist for jquery to handle pagintion? -- View this message in context: http://www.nabble.com/pagination-tf4250056s15494.html#a12095618 Sent from the JQuery mailing list archive at Nabble.com. -- Benjamin Sterling http://www.KenzoMedia.com http://www.KenzoHosting.com -- View this message in context: http://www.nabble.com/pagination-tf4250056s15494.html#a12097097 Sent from the JQuery mailing list archive at Nabble.com . -- Benjamin Sterling http://www.KenzoMedia.com http://www.KenzoHosting.com
[jQuery] Re: pagination
Eridius jqGrid could be an option for you: this plugin haves a very nice pagination(recordset) example using ajax: http://trirand.com/jqgrid/jqgrid.html Cheers 2007/8/10, Benjamin Sterling [EMAIL PROTECTED]: I did not notice that, my bad. Not sure if there is one that works with ajax. On 8/10/07, Eridius [EMAIL PROTECTED] wrote: Form what i have been told, this only works for placing data in divs and i need one that work with ajax. bmsterling wrote: http://rikrikrik.com/jquery/pager/#examples On 8/10/07, Eridius [EMAIL PROTECTED] wrote: I was wonding is a plug exist for jquery to handle pagintion? -- View this message in context: http://www.nabble.com/pagination-tf4250056s15494.html#a12095618 Sent from the JQuery mailing list archive at Nabble.com. -- Benjamin Sterling http://www.KenzoMedia.com http://www.KenzoHosting.com -- View this message in context: http://www.nabble.com/pagination-tf4250056s15494.html#a12097097 Sent from the JQuery mailing list archive at Nabble.com . -- Benjamin Sterling http://www.KenzoMedia.com http://www.KenzoHosting.com
[jQuery] Re: Does jQuery have function for ajax periodical updater
Makara, yes! Please look this plugin: http://jquery.com/plugins/project/spy Cheers 2007/7/25, Makara Kao [EMAIL PROTECTED]: I just wonder if jquery has function for ajax periodical updater. I mean, for example, for every 5 minutes it loads the Ajax to request the result from the server. Are there any tutorials or solutions? Cos I could hardly find the tutorial about this. Thanks in advance. Makara
[jQuery] jQuery capture images from webcam
jQuery haves plugins available for web images capture? I'm developing a ColdFusion application to store visitors personal data including your photo. What I'm looking for: - webcam captures visitor photo via iframe(or another solution) in our form application; - users(application) can cut that photo via jQuery; - after all that image is saved in our server; Is it a dream? ;-) Cheers
[jQuery] Re: Grid question
Adryan please look this plugin: http://trirand.com/jqgrid/jqgrid.html Cheers. 2007/7/25, Adrian Lynch [EMAIL PROTECTED]: Hey all, I'm looking at creating a version of this: http://makoomba.altervista.org/grid/ but with a mix of images and text, much like this: http://search.msn.com/images/results.aspx?q=potatoesFORM=QBIR Is there anything like this out there already, plugin wise, or any other examples of live data? I'm also having a problem with getting the Makoomba example to work. I am using the latest jQuery, 1.1.3.1, I downloaded grid.js from the example page and created my own XML file. When I attempt to run the page I get an error: $.getCSS is not a function If I download Makoomba's jquery_dev.js file and use that instead, it works. Now, I know that his file contains the code for getCSS, but I wondered why I would need to use a different version of jQuery. Has anyone got this example up and running and what version of jQuery did you use. I'm hoping I'm missing something simple with this. Thanks. Adrian Lynch
[jQuery] Re: Grid question
Hi Adrian, my name is Marco Antonio. You're right. That plugin don't resolves your needs. For live data, IMHO, I prefered it instead makoomba's plugin because makoomba's plugin uses XML data and XML with CF could be a bottleneck. Again, IMHO! Sorry my mistake. 2007/7/25, Adrian Lynch [EMAIL PROTECTED]: Hey Web (Even on CF-Talk I don't know your name), the part of the grid that we're trying to emulate is the infinate scrolling. I can't see that the example you posted does this. Am I missing it? Adrian On Jul 25, 2:54 pm, Web Specialist [EMAIL PROTECTED] wrote: Adryan please look this plugin: http://trirand.com/jqgrid/jqgrid.html Cheers. 2007/7/25, Adrian Lynch [EMAIL PROTECTED]:
[jQuery] Re: jQuery capture images from webcam
Thanks Tane. Yes, our ColdFusion application will serve us with visitor image captured from webcam and stored in application directory. After that I'll display in our application where users(application) will crop that visitor image. Mr Google help me and gives me this great great piece of code: http://www.phzzy.org/code/cropper/ and the best(using prototype): http://www.defusion.org.uk/demos/060519/cropper.php I'll be reading carefully this last example. Cheers 2007/7/25, Tane Piper [EMAIL PROTECTED]: There is no way AFAIK for JavaScript to capture a webcam stream, like Flash can capture the stream. But JavaScript can capture the image from an HTTP stream. I got this code from http://web.nickshanks.com/code/js/cams newImage = new Image(); function LoadNewImage() { var unique = new Date(); document.images.webcam.src = newImage.src; newImage.src = http://path/to/webcam.jpeg?time=; + unique.getTime(); } If the users webcam is being served by an application that can serve the image via HTTP, then you could capture an image from their stream using this and then manipulate it. On 7/25/07, Web Specialist [EMAIL PROTECTED] wrote: jQuery haves plugins available for web images capture? I'm developing a ColdFusion application to store visitors personal data including your photo. What I'm looking for: - webcam captures visitor photo via iframe(or another solution) in our form application; - users(application) can cut that photo via jQuery; - after all that image is saved in our server; Is it a dream? ;-) Cheers -- Tane Piper http://digitalspaghetti.tooum.net This email is: [ ] blogable [ x ] ask first [ ] private
[jQuery] jQuery Live Search - where?
I'm looking for any example about jQuery Live Search. Google gives me this example: http://www.steintafel.ch/blog/2006-10/jquery-visitenkarte-mit-ajax-laden/ but in german(help Klaus and Karl)! ;P Do you know any more example? Cheers
[jQuery] Re: clueTip updates and new theme
Karl, I'll want to suggest a little change in your clueTip plugin. Using this code: A class=cluetip_Help id=http://localhost/local/cluetip/demo/ajax4.htm; title=Testing new clueTip Plugin Test /A will display the hint for that link. This occurs because IE reads title argument and displays that hint(native function). Using this code resolve it: A class=cluetip_Help id=http://localhost/local/cluetip/demo/ajax4.htm; title_clueTip=Testing new clueTip Plugin Test /A and changing in jquery.cluetip.js: // set up default options var defaults = { ... titleAttribute: 'title_clueTip', Cheers 2007/7/20, Web Specialist [EMAIL PROTECTED]: Karl, Wonderful! Cheers 2007/7/16, Karl Swedberg [EMAIL PROTECTED]: Hi again, Just wanted to let you know that I did a bunch of work on the clueTip plugin this weekend and made some progress in a few areas. A couple people requested that the clueTips look more like Cody Lindley's jTips. Your wish is my command: http://test.learningjquery.com/clue/demo/alt-demo.html Here is a run-down of what I've modified: - waitImage feature/option is now implemented - added arrows option that sets background-position-y to line up an arrow background image with the hovered element. - the clueTip heading (h3) now comes before div id=cluetip-inner, not first child of it. Makes it much easier to apply sane CSS. - fixed a positioning glitch when using the truncate option - added alternate theme based on Cody Lindley's jTip and demo files to show it (alt-demo...) - changed $(document).width() to the more appropriate $(window).width() for positioning clueTip x coordinate - div id=cluetip now gets class=clue-left if positioned to the left of the hovered element; gets class=clue-right if positioned to the right. Useful for styling the clueTip differently based on where it displays I haven't committed any of this to SVN yet because I'm hoping to work out the IE6 drop shadow/CSS issues first. But everything is up on my test server, so if you want to poke around, feel free: http://test.learningjquery.com/clue/ --Karl _ Karl Swedberg www.englishrules.com www.learningjquery.com
[jQuery] Re: clueTip updates and new theme
Wow! Thanks for the fast response. Please look this image: How to remove the hint(native IE) message? Is it possible(using title argument for clueTip plugin)? Cheers 2007/7/23, Klaus Hartl [EMAIL PROTECTED]: Web Specialist wrote: Karl, I'll want to suggest a little change in your clueTip plugin. Using this code: A class=cluetip_Help id=http://localhost/local/cluetip/demo/ajax4.htm; title=Testing new clueTip Plugin Test /A will display the hint for that link. This occurs because IE reads title argument and displays that hint(native function). Using this code resolve it: A class=cluetip_Help id=http://localhost/local/cluetip/demo/ajax4.htm; title_clueTip=Testing new clueTip Plugin Test /A and changing in jquery.cluetip.js: // set up default options var defaults = { ... titleAttribute: 'title_clueTip', Cheers Instead of using an invalid attribute, the plugin should just remove the title attribute if it exists - because that's what it does, enhancing existing functionality... --Klaus attachment: karl_plugin.GIF
[jQuery] Re: clueTip updates and new theme
Karl, This is my directories structure: clueTip /css /images /loader.gif /js / jquery.js and so on / jquery.cluetip.js / alt-demo.js Using this code: - html: a class=cluetip_Help rel=http://localhost/local/cluetip/ajax4.cfm; Testing clueTip plugin /a - jquery.cluetip.js: ... attribute: 'rel', ... waitImage: 'wait.gif' - alt-demo.js: ... $('.cluetip_Help').cluetip({attribute: 'rel', hoverClass: 'highlight', arrows: true, dropShadow: false, waitImage: '../images/loader.gif'}); don't display loader.gif image. Using several path(/images, ../../images, and so on) occurs the same: the IE cross image. Your code is very simple: $('img src=' + defaults.waitImage + ' /') .attr({'id': 'cluetip-waitimage'}) .css({position: 'absolute', zIndex: '1001'}) .appendTo('body') What's wrong? Cheers. 2007/7/23, Karl Swedberg [EMAIL PROTECTED]: On Jul 23, 2007, at 9:05 AM, Klaus Hartl wrote: Karl, maybe that's because the title is removed no sooner than the content for the tip is loaded? Just guessing... absolutely. I think you're spot on with that. Will work on this as soon as I have some time to breathe. While I was browsing through the code I saw that you're using ids in the cluetip div creation: cluetip-inner etc. As this is used several times, that should be classes IMHO. Unless I'm totally off here and you're reusing the same div for all tooltips. Like you said before, Klaus, you should have known me better. :-D I took the approach of creating only one cluetip and then replacing its contents when it's shown. look at around line 133: if (!$cluetip) { //one instance of the cluetip elements (container, outer wrapper, inner wrapper, title, etc.) are built in here } Cheers, --Karl _ Karl Swedberg www.englishrules.com www.learningjquery.com
[jQuery] Re: [Announce] jQuery Reference Guide available for pre-order
Karl, I'm with John Farrar: ColdFusion guys is, maybe, the most active group from this list. ;-) I'll wait Rey Bango CF+jQuery(maybe talking about ajaxCFC???). Thanks Karl for your time with jQuery. Cheers 2007/7/23, Karl Swedberg [EMAIL PROTECTED]: On Jul 23, 2007, at 4:34 PM, Karl Swedberg wrote: (One complaint, where are the ColdFusion examples? You should have that also. Not put off that you do PHP, but you are not going to hit a market segment like you want if you don't spread out just a bit.) For that, you'll have to buy Rey Bango's upcoming book: *jQuery and ColdFusion, a Marriage Made in Heaven*. :-p Hi John, I realized after I sent this that it might have come across too flippant. Sorry about that. The serious answer is that given the constraints we had to work with, we weren't able to venture into other server-side languages. Also, we had to strike a balance between giving enough server-side code to have the (ajax) examples be useful and not giving so much as to distract from the main focus of the book. We chose PHP for two reasons, (1) it's a very popular server-side language and (2) it's the sever-side language we ourselves are most familiar with. We also wrote 2 1/2 times more than we had originally contracted for, so, if anything, we were trying to keep word count down. That said, if the publisher ever wants us to write a second edition, this might be the sort of thing we could add. Maybe an additional ajax chapter showing how to achieve one task with jQuery + PHP, jQuery + ColdFusion, jQuery + Python, etc. Other books have done that sort of thing in later editions, so it's not out of the question, I suppose. Again, I'm really happy to hear that you like the book. Cheers, Karl
[jQuery] Re: [Announce] jQuery Reference Guide available for pre-order
Karl, I'll want to buy your book(Learning jQuery ...) but I found 2 problems: 1) Don't have free shipping to Brazil and 2) The brazilian store available from your book site(http://www.packtpub.com/jQuery/book) doesn't have your book, yet! Anyway I'll buy from Packt! Cheers 2007/7/23, Karl Swedberg [EMAIL PROTECTED]: I know there are a lot of you ColdFusion guys on the list, and I think that's really cool. You definitely add a lot to this list. Some day I hope to be able to play around with it myself. By the way, that comment about Rey writing a book was just a joke. Just poking at Rey a bit, all in good fun. I probably should have clarified that with more than an emoticon. --Karl _ Karl Swedberg www.englishrules.com www.learningjquery.com On Jul 23, 2007, at 6:30 PM, Web Specialist wrote: Karl, I'm with John Farrar: ColdFusion guys is, maybe, the most active group from this list. ;-) I'll wait Rey Bango CF+jQuery(maybe talking about ajaxCFC???). Thanks Karl for your time with jQuery. Cheers 2007/7/23, Karl Swedberg [EMAIL PROTECTED]: On Jul 23, 2007, at 4:34 PM, Karl Swedberg wrote: (One complaint, where are the ColdFusion examples? You should have that also. Not put off that you do PHP, but you are not going to hit a market segment like you want if you don't spread out just a bit.) For that, you'll have to buy Rey Bango's upcoming book: *jQuery and ColdFusion, a Marriage Made in Heaven*. :-p Hi John, I realized after I sent this that it might have come across too flippant. Sorry about that. The serious answer is that given the constraints we had to work with, we weren't able to venture into other server-side languages. Also, we had to strike a balance between giving enough server-side code to have the (ajax) examples be useful and not giving so much as to distract from the main focus of the book. We chose PHP for two reasons, (1) it's a very popular server-side language and (2) it's the sever-side language we ourselves are most familiar with. We also wrote 2 1/2 times more than we had originally contracted for, so, if anything, we were trying to keep word count down. That said, if the publisher ever wants us to write a second edition, this might be the sort of thing we could add. Maybe an additional ajax chapter showing how to achieve one task with jQuery + PHP, jQuery + ColdFusion, jQuery + Python, etc. Other books have done that sort of thing in later editions, so it's not out of the question, I suppose. Again, I'm really happy to hear that you like the book. Cheers, Karl
[jQuery] jTip hover cache
Hi all. I'm using jTip plugin and love your easy implementation and css style. But when mouse gets over requests info from server(I'm using database content) what is a bit too much overhead. If user holds your mouse in a link for jTip loads several calls to database. How can I insert a cache to avoid this? Cheers
[jQuery] Re: jTip hover cache
Thanx Karl. I'll be looking clueTip right now 2007/7/13, Karl Swedberg [EMAIL PROTECTED]: On Jul 13, 2007, at 3:11 PM, Web Specialist wrote: Hi all. I'm using jTip plugin and love your easy implementation and css style. But when mouse gets over requests info from server(I'm using database content) what is a bit too much overhead. If user holds your mouse in a link for jTip loads several calls to database. How can I insert a cache to avoid this? Cheers Actually, my new clueTip plugin does this for you. It's pretty similar to jTip, but it has a lot more options and is more jQuery- like in its syntax (uses .cluetip() method rather than working only by on links with jTip class and parsing URL parameters.). http://www.learningjquery.com/2007/07/cluetip-plugin-beta --Karl _ Karl Swedberg www.englishrules.com www.learningjquery.com
[jQuery] Re: jTip hover cache
Karl, I'm playing with your cluetip plugin. Looks nice. Only one question: is it possible to use jTip style(arrow left, arrow right, loader and so on css styles) inside cluetip? 2007/7/13, Karl Swedberg [EMAIL PROTECTED]: On Jul 13, 2007, at 3:11 PM, Web Specialist wrote: Hi all. I'm using jTip plugin and love your easy implementation and css style. But when mouse gets over requests info from server(I'm using database content) what is a bit too much overhead. If user holds your mouse in a link for jTip loads several calls to database. How can I insert a cache to avoid this? Cheers Actually, my new clueTip plugin does this for you. It's pretty similar to jTip, but it has a lot more options and is more jQuery- like in its syntax (uses .cluetip() method rather than working only by on links with jTip class and parsing URL parameters.). http://www.learningjquery.com/2007/07/cluetip-plugin-beta --Karl _ Karl Swedberg www.englishrules.com www.learningjquery.com
[jQuery] Re: jTip hover cache
Thanx Karl. I'll try too, tomorrow. jTip style is very nice and user friendly. Cheers 2007/7/13, Karl Swedberg [EMAIL PROTECTED]: Yes, it's definitely possible. having a loader image automatically show is on the to-do list. I'll try to get to it this weekend. The other stuff should be pretty simple just by changing the rules in jquery.cluetip.css. I'll have a look at that, too, and see if I can come up with an alternate skin that mimics jTip. --Karl _ Karl Swedberg www.englishrules.com www.learningjquery.com On Jul 13, 2007, at 3:34 PM, Web Specialist wrote: Karl, I'm playing with your cluetip plugin. Looks nice. Only one question: is it possible to use jTip style(arrow left, arrow right, loader and so on css styles) inside cluetip? 2007/7/13, Karl Swedberg [EMAIL PROTECTED]: On Jul 13, 2007, at 3:11 PM, Web Specialist wrote: Hi all. I'm using jTip plugin and love your easy implementation and css style. But when mouse gets over requests info from server(I'm using database content) what is a bit too much overhead. If user holds your mouse in a link for jTip loads several calls to database. How can I insert a cache to avoid this? Cheers Actually, my new clueTip plugin does this for you. It's pretty similar to jTip, but it has a lot more options and is more jQuery- like in its syntax (uses .cluetip() method rather than working only by on links with jTip class and parsing URL parameters.). http://www.learningjquery.com/2007/07/cluetip-plugin-beta --Karl _ Karl Swedberg www.englishrules.com www.learningjquery.com
[jQuery] Re: Field Plug-in Update: Added $(form).formHash() method....
Congratulations! 2007/7/3, Andy Matthews [EMAIL PROTECTED]: Sounds awesome Dan!! Very promising. -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dan G. Switzer, II Sent: Tuesday, July 03, 2007 10:51 AM To: jquery-en@googlegroups.com Subject: [jQuery] Field Plug-in Update: Added $(form).formHash() method I've updated my Field Plug-in with a new method called formHash(): http://jquery.com/plugins/project/field The formHash() method allows you to easily grab all the values in your form as a hash map/structure or you can set the fields in your form based upon a hash map/structure of values. The formHash() method is a perfect companion to AJAX JSON operations--allowing you to easily fill in a form based upon a JSON packet. Examples: $(#formName).formHash(); Returns a hash map of all the form fields and their values. $(#formName).formHash({name: Dan G. Switzer, II, state: OH}); Returns the jQuery chain and sets the fields name and state with the values Dan G. Switzer, II and OH respectively. -Dan
[jQuery] Re: Joern Form Validation hangs IE when validate monster forms
Last version - 1.1. 2007/6/29, Dan G. Switzer, II [EMAIL PROTECTED]: Which version of the Validation plug-in are you using? -Dan -- *From:* jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *Web Specialist *Sent:* Thursday, June 28, 2007 9:27 PM *To:* jquery-en@googlegroups.com *Subject:* [jQuery] Joern Form Validation hangs IE when validate monster forms Hi all. I have a monster form with more than 110 fields(separeted in tabs) to validate before save in our DB. Every fields need easy validation like: rules ... pat_ds_veiculo_ano:{required: #pat_co_veiculos:checked,digits: true, rangeValue:[1905,2008]}, pat_vr_veiculo:{required: #pat_co_veiculos:checked}, pat_co_veiculo_alienado:{required: #pat_co_veiculos:checked}, pat_dt_alienacao_fim:{required: #pat_co_veiculo_alienado:checked,dateBR: true}, ... messages and so on. But with this validation routine IE hangs and after 6 seconds jQuery shows me(if occured) error message for invalid field. Looking for workaround I test Jorn example: http://jquery.bassistance.de/validate/demo-test/custom-methods-demo.html and insert 100 more fields. Surprise! IE hangs again and validation(error message) occurs after 5, 6 seconds. Jorn Form Validation is a great great piece of code but looks like doesn't scale for monster form. What's wrong with my form? Cheers
[jQuery] Re: Joern Form Validation hangs IE when validate monster forms
Thank you so much Dan for this great help. Reading your last paragraph looks like don't exist any solution because IE manages very poorly loop form fields, right? Cheers 2007/6/29, Dan G. Switzer, II [EMAIL PROTECTED]: Part of the problem is looping over tons of form field elements is always a bit slow—especially in IE. What I'd recommend doing is looking form: function() block in Jorn's code. I suspect the problem is related to the block of code: form: function() { this.prepareForm(); for ( var i = 0, element; element = this.elements[i]; i++ ) { this.check( element ); } jQuery.extend(this.submitted, this.errorMap); return this.valid(); }, My guess is it's taking 5-6 seconds to loop through all the elements. You might try dumping an alert before and after the loop to time it. If that's the case, probably the only way to fix it is to pre-build a cache of elements to check based on the rules defined. The problem with looping through all the elements is it'll need to look at every single form field in the form to see if there's anything that needs to be done. -Dan -- *From:* jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *Web Specialist *Sent:* Friday, June 29, 2007 7:59 AM *To:* jquery-en@googlegroups.com *Subject:* [jQuery] Re: Joern Form Validation hangs IE when validate monster forms Last version - 1.1. 2007/6/29, Dan G. Switzer, II [EMAIL PROTECTED]: Which version of the Validation plug-in are you using? -Dan -- *From:* jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *Web Specialist *Sent:* Thursday, June 28, 2007 9:27 PM *To:* jquery-en@googlegroups.com *Subject:* [jQuery] Joern Form Validation hangs IE when validate monster forms Hi all. I have a monster form with more than 110 fields(separeted in tabs) to validate before save in our DB. Every fields need easy validation like: rules ... pat_ds_veiculo_ano:{required: #pat_co_veiculos:checked,digits: true, rangeValue:[1905,2008]}, pat_vr_veiculo:{required: #pat_co_veiculos:checked}, pat_co_veiculo_alienado:{required: #pat_co_veiculos:checked}, pat_dt_alienacao_fim:{required: #pat_co_veiculo_alienado:checked,dateBR: true}, ... messages and so on. But with this validation routine IE hangs and after 6 seconds jQuery shows me(if occured) error message for invalid field. Looking for workaround I test Jorn example: http://jquery.bassistance.de/validate/demo-test/custom-methods-demo.html and insert 100 more fields. Surprise! IE hangs again and validation(error message) occurs after 5, 6 seconds. Jorn Form Validation is a great great piece of code but looks like doesn't scale for monster form. What's wrong with my form? Cheers
[jQuery] Re: OT: Pingdom: Web Page Loading Time Tester
Very nice. Only one problem: works only for internet sites. Do you know any tool(except FireBug) to use in intranet sites? 2007/6/29, Rey Bango [EMAIL PROTECTED]: One of the more common topics that occurs in the Ajax/DOM/JS space is page load times. This is especially important to the jQuery team and one of the reasons we go to great lengths to keep the library at about 20k total size. Which leads to Pingdom. If you're interested in seeing how your page is performing, then you might want to take a look at Pingdom Tools. It gives you a great visual representation of how your fast your page loads and the overall size of your page and its components. WebAppers.com has a nice writeup here: http://www.webappers.com/2007/06/29/pingdom-the-full-page-test-for-webpage-loading-time/ Direct link here: http://tools.pingdom.com/fpt/ FireBug does have similar functionality but this is a nice alternative to cross-reference with. Rey -- BrightLight Development, LLC. 954-775- (o) 954-600-2726 (c) [EMAIL PROTECTED] http://www.iambright.com
[jQuery] Re: Joern Form Validation hangs IE when validate monster forms
Jorn, thanks for your comment. I'm a very happy user for your plugin. This is great for our applications. For 99% of our forms using Form Validation is a nice experience. But using your demo: http://jquery.bassistance.de/validate/demo-test/custom-methods-demo.html and inserting(add another input to the form) several times(100 for example) and fire that form you could see: that form hangs IE and wait 5-6 seconds to return all field validations. 2007/6/29, Jörn Zaefferer [EMAIL PROTECTED]: Web Specialist wrote: Jorn Form Validation is a great great piece of code but looks like doesn't scale for monster form. What's wrong with my form? You are the first that reported performance problem. Therefore I see three approaches to this problem: * Split the form into subforms and perform seperate validation; the dependency checks aren't necessary anymore, performance should improve a lot - your part * Tune performance for forms with more then 100 elements * Enable the plugin to work with virtual subforms: Instead of checking all elements at once (current) or splitting the form (first point), check only a subform defined by some element swith class subform The first approach seems to be easiest: Just specify a submitHandler for the first form and second form that shows the next step. The only problem is to submit all three forms as one. Using JS to copy values from the first two forms into the third could pose another performance problem. -- Jörn Zaefferer http://bassistance.de
[jQuery] BlockUI and unBlockUI after validation routine
Hi all. I'm trying to use BlockUI to show a message while a validation routine occurs in my form. Looks like this: $(document).ready(function(){ /* when user fires submit button blockUI shows a wait message - WORKS FINE */ $(function() { $('#SaveInfoButton').click(function() { $.blockUI(); }); }); /* all long long long time form validation routine */ $.unblockUI; // DOESN'T UNBLOCK - WHY??? blockUI works fine showing a message but unblockUI doesn't. What's wrong? Is it possible to do? Cheers
[jQuery] Re: BlockUI and unBlockUI after validation routine
Sorry Sam, mistyped. I'm using $.unblockUI(). 2007/6/28, Sam Collett [EMAIL PROTECTED]: Looks like you are missing the brackets: $.unblockUI(), not $.unblockUI On Jun 28, 11:09 am, Web Specialist [EMAIL PROTECTED] wrote: Hi all. I'm trying to use BlockUI to show a message while a validation routine occurs in my form. Looks like this: $(document).ready(function(){ /* when user fires submit button blockUI shows a wait message - WORKS FINE */ $(function() { $('#SaveInfoButton').click(function() { $.blockUI(); }); }); /* all long long long time form validation routine */ $.unblockUI; // DOESN'T UNBLOCK - WHY??? blockUI works fine showing a message but unblockUI doesn't. What's wrong? Is it possible to do? Cheers
[jQuery] Re: BlockUI and unBlockUI after validation routine
Sorry Mike. I'm using in our intranet. But code is simple like this: // function to show wait message when user fires submit button script type=text/javascript $(function() { $('#SubmitForm').click(function() { $.blockUI(); }); }); /script script charset=iso-8859-1 type=text/javascript $(document).ready(function(){ ... // VALIDATION ROUTINE $(#frm).validate({ event: keydown, focusInvalid: false, rules: { username: { required: true }, ... }, messages: { username: Please enter your username, ... } }); // END FOR VALIDATION ROUTINE // if user needs to change any data because validation... or fields entered are right // unblocks form $.unblockUI(); }); /script 2007/6/28, Mike Alsup [EMAIL PROTECTED]: You need to provide more of the code or a link to a sample page. It's likely that you have a JavaScript error somewhere and the unblockUI call is never truly being invoked. Mike On 6/28/07, Web Specialist [EMAIL PROTECTED] wrote: Sorry Sam, mistyped. I'm using $.unblockUI().
[jQuery] Re: BlockUI and unBlockUI after validation routine
What I want to do: - When user submits our form blockUI blocks and after validated(I have a routine with) blockUI unblocks that form. 2007/6/28, Mike Alsup [EMAIL PROTECTED]: All this shows is that unblockUI executes when the DOM is ready. I don't understand what you're trying to do. Mike On 6/28/07, Web Specialist [EMAIL PROTECTED] wrote: Sorry Mike. I'm using in our intranet. But code is simple like this: // function to show wait message when user fires submit button script type=text/javascript $(function() { $('#SubmitForm').click(function() { $.blockUI(); }); }); /script script charset=iso-8859-1 type=text/javascript $(document).ready(function(){ ... // VALIDATION ROUTINE $(#frm).validate({ event: keydown, focusInvalid: false, rules: { username: { required: true }, ... }, messages: { username: Please enter your username, ... } }); // END FOR VALIDATION ROUTINE // if user needs to change any data because validation... or fields entered are right // unblocks form $.unblockUI(); }); /script 2007/6/28, Mike Alsup [EMAIL PROTECTED]: You need to provide more of the code or a link to a sample page. It's likely that you have a JavaScript error somewhere and the unblockUI call is never truly being invoked. Mike On 6/28/07, Web Specialist [EMAIL PROTECTED] wrote: Sorry Sam, mistyped. I'm using $.unblockUI().
[jQuery] Joern Form Validation hangs IE when validate monster forms
Hi all. I have a monster form with more than 110 fields(separeted in tabs) to validate before save in our DB. Every fields need easy validation like: rules ... pat_ds_veiculo_ano:{required: #pat_co_veiculos:checked,digits: true, rangeValue:[1905,2008]}, pat_vr_veiculo:{required: #pat_co_veiculos:checked}, pat_co_veiculo_alienado:{required: #pat_co_veiculos:checked}, pat_dt_alienacao_fim:{required: #pat_co_veiculo_alienado:checked,dateBR: true}, ... messages and so on. But with this validation routine IE hangs and after 6 seconds jQuery shows me(if occured) error message for invalid field. Looking for workaround I test Jorn example: http://jquery.bassistance.de/validate/demo-test/custom-methods-demo.html and insert 100 more fields. Surprise! IE hangs again and validation(error message) occurs after 5, 6 seconds. Jorn Form Validation is a great great piece of code but looks like doesn't scale for monster form. What's wrong with my form? Cheers
[jQuery] Interface shopping cart - how to insert in DB
Hi all. Interface haves a very cool shopping cart example in http://interface.eyecon.ro/demos/cart.html My question: how can I reference that selected products in shopping basket to insert in database? I didn't see any form field in source code for that example. Cheers
[jQuery] jQuery Ajax pagination
I'm looking an example using jquery for grid pagination with ajax(database hits) support. http://makoomba.altervista.org/grid/ haves a great example but using xml data. I'll want to use json instead. Do you know? Cheers
[jQuery] rangeValue in Jorn Form Validation Plugin - zip validation
Hi, I'll want to validate a range in US(Los Angeles) zip field using great Jorn's Form Validation Plugin. For example: - how to ensure users enter only zip inside the range 902??- and 905??-??? Cheers
[jQuery] Re: Really nice Ext Grid
Looks very nice. A little slow when sorting(30 records only). But stills very nice. 2007/6/2, Mark [EMAIL PROTECTED]: damn that stuff looks nice!! i would like to have the tooltips from that page in a seperate jquery extension :) and the menu. 2007/5/31, John Farrar [EMAIL PROTECTED]: Michael Stuhr wrote: Erik Beeson schrieb: Maybe this isn't news, but these are the sweetest grids I've ever seen, even for Ext: http://extjs.com/playpen/ext-2.0/examples/grid/grid3.html is this a beta ? micha I am not sure... but it might be mixed free and commercial. Waiting for a reply.
[jQuery] JQuery Gurus: a challenge for you. Hide and Show
Hi all. I have a very, very, very slow form(6 seconds before validate all data) page with Form Plugin and Tabs. I'll want to show submit when, and only when, user clicks in the last tab. Clicking in another will hide that submit button. My question: is it possible to do that? Or only using several jquery hide function, one for each tab? Cheers
[jQuery] Re: Performance monitoring
Sam, what do you say for caching the object globally? I have a very very slow form page too. Cheers. 2007/5/31, SamCKayak [EMAIL PROTECTED]: caching the object globally made the performance suitable for production. Thanks, Sam
[jQuery] Re: Block UI when user submits a slow page
Thanx Jonathan. I'll try your suggestion and include an iframe. Cheers 2007/5/29, Jonathan Sharp [EMAIL PROTECTED]: You can't block across requests. You may achieve your desired effect if your page is within an iframe and the blockui is in the parent document. In short you can block when the user clicks submit but at an arbitrary point in time the browser will clear the screen as it receives the response. So there isn't really a way to do what you want. Cheers, -js On 5/29/07, Web Specialist [EMAIL PROTECTED] wrote: Hi all do you know any example using BlockUI with normal form(otherwise Ajax)? I have a very slow form(processing text files). I'll want to block UI when user submits that form and, after execute that page, unblock again. Cheers
[jQuery] Block UI when user submits a slow page
Hi all do you know any example using BlockUI with normal form(otherwise Ajax)? I have a very slow form(processing text files). I'll want to block UI when user submits that form and, after execute that page, unblock again. Cheers
[jQuery] Help with form plugin and tabs in a same page
Hi all I have a very basic form with Jorn Form Validation and Tabs plugins inside. Looks very simple like: div div id=AuxData style=width:100% ul class=anchors lia href=#personalPersonal data/a/li lia href=#familyFamily data/a/li lia href=#professionalProfessional data/a/li lia href=#referencesReferences/a/li /ul div class=fragment id=personal . form content for personal data and so on... Is it possible after validation to change the color for tabs title when occurs any error inside? For example: - user fills family data and after submit that form occurs an error based in Family data. I'll want to change that Family data(tabs title) to red. What do you think about? How to know the error context and tab context? Cheers
[jQuery] Jorn Form Validation help - how to know when a select field is selected
Hi all I have a dependent validation routine with Jorn Validation Form plugin. Works like a charm. But I need to validate dependent fields when a select field option is selected. Looks like wife:{required: function() {return $([EMAIL PROTECTED]'maried_single']).filter('[EMAIL PROTECTED]').val() == 1;}}, But doesn't work. How to get the selected field option?
[jQuery] ColdFusion, ajax, post, jquery and whitespace
I'll need to test an ajax post to validate if an account already exists in database. I'm using this code in action page: cfsetting showdebugoutput=no cfprocessingdirective suppresswhitespace = yes pageencoding=ISO-8859-1 cfheader charset=iso-8859-1 name=Expires value=#GetHttpTimeString(Now())# cfcontent reset=true type=text/plain;charset=ISO-8859-1 cfset rndTest = RandRange(90,99) cfif rndTest MOD 2 cfoutput#rndTest#/cfoutput cfelse LOOK HERE WITHOUT CFOUTPUT no /cfif /cfcontent /cfprocessingdirective Using that script returns(randomly) the no with 5 chars(maybe because tab for tags alignment). Including no inside cfoutput returns 3. Why CF doesn't works properly removing whitespace? This is the jquery script: $.ajax({ type: post, url: validateAccount.cfm, dataType: html, data: inputs, Cheers
[jQuery] Re: ColdFusion, ajax, post, jquery and whitespace
Yes Rey. I'm using cfsavecontent with another application and resolves. But looks like a step ahead... Returning to cfsavecontent.. Thanx. 2007/5/25, Rey Bango [EMAIL PROTECTED]: Because CF is horrible at handling whitespace. Always has been. I always use a CFSAVECONTENT tag to save the output to a var and then I trim the var before it goes back to the XHR request. So try this: cfsetting showdebugoutput=no cfprocessingdirective suppresswhitespace = yes pageencoding=ISO-8859-1 cfheader charset=iso-8859-1 name=Expires value=#GetHttpTimeString(Now())# cfcontent reset=true type=text/plain;charset=ISO-8859-1 cfsavecontent variable=myResults cfset rndTest = RandRange(90,99) cfif rndTest MOD 2 cfoutput#rndTest#/cfoutput cfelse no /cfif /cfsavecontent /cfprocessingdirective cfoutput#trim( myResults )#/cfoutput Rey Web Specialist wrote: I'll need to test an ajax post to validate if an account already exists in database. I'm using this code in action page: cfsetting showdebugoutput=no cfprocessingdirective suppresswhitespace = yes pageencoding=ISO-8859-1 cfheader charset=iso-8859-1 name=Expires value=#GetHttpTimeString(Now())# cfcontent reset=true type=text/plain;charset=ISO-8859-1 cfset rndTest = RandRange(90,99) cfif rndTest MOD 2 cfoutput#rndTest#/cfoutput cfelse LOOK HERE WITHOUT CFOUTPUT no /cfif /cfcontent /cfprocessingdirective Using that script returns(randomly) the no with 5 chars(maybe because tab for tags alignment). Including no inside cfoutput returns 3. Why CF doesn't works properly removing whitespace? This is the jquery script: $.ajax({ type: post, url: validateAccount.cfm, dataType: html, data: inputs, Cheers -- BrightLight Development, LLC. 954-775- (o) 954-600-2726 (c) [EMAIL PROTECTED] http://www.iambright.com