[jQuery] Re: KFManager v1.0

2009-08-18 Thread Web Specialist
Good job. Awesome!

Cheers
Marco Antonio

On Tue, Aug 18, 2009 at 1:20 PM, Ken Phan  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?

2009-07-31 Thread Web Specialist
In your server side i'll create an encripted string to avoid user edition in
the url. Looks like this:

http://mysite.com?delete=true&id=123&encriptedURL=WXObT4eqDq+8iij5MksGDdaq

encriptedURL variable contains the string delete=true&id=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:



Cheers
Marco Antonio


On Fri, Jul 31, 2009 at 6:36 AM, Adrian Lynch wrote:

>
> I think you could do something like the following:
>
> Delete
>
> 
>$("a").click(function() {
>var id = $(this).attr("class").split("-")[1];
>this.href = "/?delete=true&id=" + id;
>});
> 
>
> 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=delete&id=101 in, I'd be tempted to give ?
> action=delete&id=102, ?action=delete&id=103, ?action=delete&id=104 a
> try too! ;O)
>
> On Jul 31, 12:49 am, Anoop kumar V  wrote:
> > I have a menu, on which is a delete link. The URL of the link is quite
> > plain:http://mysite.com?delete=true&id=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 
> > similar. 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

2009-06-08 Thread Web Specialist
Awesome. Good job Andy.

[]s
Marco Antonio

On Mon, Jun 8, 2009 at 10:47 AM, Andy Matthews wrote:

>
> 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-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

2009-04-29 Thread Web Specialist
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  wrote:

>
> On Apr 29, 8:04 am, apaella  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?

2009-01-07 Thread Web Specialist
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

2008-12-02 Thread Web Specialist
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

2008-10-14 Thread Web Specialist
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?

2008-10-06 Thread Web Specialist
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'
> );
> >   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] second Ajax content loaded reset that first one

2008-10-01 Thread Web Specialist
Hi all. I have a need to create a form with remote content. Please look this
code:

1) ajaxform loads table content
$('#frm').ajaxForm({
target: '#divResponse',
dataType: 'html',
success: function(data) {
$('.results').html(data).show();
}
});

2) divResponse is a table with every row haves a loadCountry class. If user
clicks in a row I'll want to load the second remote content for the single
ID
$('.loadCountry').livequery('click', function(){ loadURL(this); });

3) loadURL
function loadURL(countryID)
{
var row = countryID;
$.get("getCountry.cfm", { u: row.id }, function(data){
var $contents = trim12( data );
$( '#' + row.id ).append( $contents );
});
}

My problem is: after first remote content is loaded(table with ajaxform) and
I click in a row Firebug display the remote call with success but
loadURL(second remote content call) remove that first remote content loaded.

What's wrong with this code?

Cheers
Marco Antonio


[jQuery] Re: Insert content in row

2008-09-30 Thread Web Specialist
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:
> >
> > 
> > United States
> > 
> > 
> > Canada
> > 
> >
> > 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] Insert content in row

2008-09-30 Thread Web Specialist
Hi all. I have this very simple content:


United States


Canada


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] Jorn's form plugin and accordion - ajax validation how to....

2008-09-25 Thread Web Specialist
Jorn makes a very good job with form and accordion plugins integration:

http://jquery.bassistance.de/validate/demo/multipart/

How can I make that example works with ajax validation?

Cheers
Marco Antonio


[jQuery] tabs and form plugin integration

2008-09-25 Thread Web Specialist
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?

2008-08-20 Thread Web Specialist
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

2008-07-15 Thread Web Specialist
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

2008-07-07 Thread Web Specialist
Hi guys. Do you know how to use POST instead GET method for simpleTree(
http://news.kg/wp-content/uploads/tree/d&d/)?

Cheers
Marco Antonio


[jQuery] jQuery asynchronous responses

2008-07-04 Thread Web Specialist
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] Insert lines in form from server side

2008-07-02 Thread Web Specialist
I have a form(with jQuery ajaxForm Form Plugin) when user inserts a path to
directory with several zip files. My server side ColdFusion routines search
that directory, looping and extract all zip files to related client
directory. After all display a message to user.

What I'm looking for? After every zip file complete processing I wanna to
display a message in submit page.

The problem is: how to insert(asyncronously) lines from server side?

submit form -> server side routine start

in submit form
Test1.zip start
(after Test1.zip process)
message: file Test1.zip completed

Test2.zip start
(after Test2.zip process)
message: file Test2.zip completed

and so on

Cheers
Marco Antonio


[jQuery] Re: Shadowbox 2.0rc1

2008-07-02 Thread Web Specialist
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

2008-05-15 Thread Web Specialist
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] [OT] Insert a href link in textarea

2008-05-09 Thread Web Specialist
Hi all.
I have a textarea when users can insert a
network(\\servername\folder\file.doc) path. After this users submit the
form. Looking for I'll like to see what's happened with data form.
Interesting but textarea form field created all link included in original
value(*form field). My question: is it possible to insert links for network
pathis?

Cheers
Marco Antonio


[jQuery] Re: looking for simple AIR-jquery ajax example

2008-05-02 Thread Web Specialist
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

2008-04-22 Thread Web Specialist
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

2008-04-20 Thread Web Specialist
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...

2008-04-16 Thread Web Specialist
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?

2008-04-13 Thread Web Specialist
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  > href="myCfTemplate.cfm" class="paginate">5 (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)" 
> > 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: 
> > > 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
> >
> > > > 
> >
> > > > 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(#get_properties.recordCount#,
> > > > {
> > > > items_per_page:20,
> > > > num_edge_entries: 2,
> > > > num_display_entries: 20,
> > > > callback: pageselectCallback
> > > > });
> > > > });
> >
> > > > - Hide quoted text -
> >
> > > - Show q

[jQuery] Re: Display ajax result in 2 divs

2008-04-10 Thread Web Specialist
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
>
> 
> 
>
>  $('.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:
> >
> > 

[jQuery] Display ajax result in 2 divs

2008-04-10 Thread Web Specialist
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:



[jQuery] Re: flexigrid plugin - help for server side script

2008-03-30 Thread Web Specialist
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

2008-03-23 Thread Web Specialist
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

2008-03-03 Thread Web Specialist
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");




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

2008-02-11 Thread Web Specialist
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

2008-01-31 Thread Web Specialist
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.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

2007-12-09 Thread Web Specialist
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

2007-12-02 Thread Web Specialist
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] jQuery Form Plugin - redirect after success

2007-11-29 Thread Web Specialist
Hi all.

I'm using jQuery Form Plugin(http://www.malsup.com/jquery/form/) to validate
a form with ajax.

This is js code:
.ajaxStart(function() {$(this).show();$('#divResposta').hide()})
.ajaxStop(function() {$(this).hide();})
$('#frm').ajaxForm({
target: '#divResposta',
dataType: 'json',
success: function(data) {
$('#confirmar').show();
$('#divResposta').html(data.saida).show();
}
});

User needs to inform a value in form field. After submit I need to check
that value in database. If exists, display related information in a
div(divResposta). User needs to validate that data and after resubmit that
form. Easy. The bottleneck is:

- after validate data I used a redirect ColdFusion(cflocation) function to
send that user to another page. Here IE and FF give me an error:

- in FF
[Exception... "Component is not available" nsresult: "0x80040111
(NS_ERROR_NOT_AVAILABLE)" location: "JS frame ::
file:///C:/Arquivos%20de%20programas/Mozilla%20Firefox/components/nsSessionStore.js
:: sss_saveState :: line 1749" data: no]
oState.session = { state: ((this._loadState == STATE_RUNNING) ?
STATE_RUNNIN...

(error in nsSessionStore.js line 1749).

My question: is it possible to redirect in the middle of an ajax call?

Cheers


[jQuery] Re: Validation with Jorn's Validation Plugin - zero

2007-11-28 Thread Web Specialist
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] Validation with Jorn's Validation Plugin - zero

2007-11-28 Thread Web Specialist
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] jQuery minified size could be wrong?

2007-11-25 Thread Web Specialist
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

2007-11-20 Thread Web Specialist
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: TableCloth

2007-11-20 Thread Web Specialist
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: ajaxContent plugin

2007-11-11 Thread Web Specialist
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

2007-11-01 Thread Web Specialist
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] Form Validation Plugin - animating errorContainer

2007-10-31 Thread Web Specialist
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:

This form contains errors. Please try again!



Thanx.
Marco Antonio


[jQuery] Jorn's Validation Plugin - how to know if occurs a form field error?

2007-10-31 Thread Web Specialist
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] Re: For Brazilians jQuery Developers

2007-10-30 Thread Web Specialist
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] Jorn's Form Validation ErrorPlacement

2007-10-30 Thread Web Specialist
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] For Brazilians jQuery Developers

2007-10-30 Thread Web Specialist
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...

2007-10-27 Thread Web Specialist
Sorry.

 
Choose a category
< option value="2">Automotive
Medical




2007/10/27, Web Specialist <[EMAIL PROTECTED]>:
>
> Rick
>
> I'm using Jorn's Form Validation plugin and this approach works fine:
>
>  validate="required:true">
> Choose a category
> < option value="">Automotive
> Medical
> 
>
> 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...

2007-10-27 Thread Web Specialist
Rick

I'm using Jorn's Form Validation plugin and this approach works fine:


Choose a category
Automotive
Medical


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

2007-10-25 Thread Web Specialist
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: multiple ajax selects; dynamic selects don't support onchange?

2007-10-04 Thread Web Specialist
Rob

great job.

Two questions:

- how to use your plugin in update pages(with selected item);
- it is possible to start a function after last select field is loaded?

Cheers

2007/9/27, Rob D <[EMAIL PROTECTED]>:
>
>
> Hi Karl,
>
> Thanks for your feedback, I will certainly make that modification you
> have suggested.
>
> Ya know you really do lean something new everyday ;)
>
> Kind regards
>
> Rob
>
>
> Karl Rudd wrote:
> > Very nice.
> >
> > I know it's only a demo but you could reduce size of the JSON
> > responses by about 60% (or more) if you used smaller key strings,
> > something like "v" and "t" instead of "optionValue" and
> > "optionDisplay". For the 2500+ records for NSW it makes a huge
> > difference.
> >
> > Like I said, very nice work.
> >
> > I do so love how jQuery allows you remove all the fluff and you can
> > just get things done.
> >
> > Karl Rudd
> >
> > On 9/27/07, Rob D <[EMAIL PROTECTED]> wrote:
> >
> >> [EMAIL PROTECTED] wrote:
> >>
> >>> Hi all,
> >>>
> >>> i'm creating a search interface based on select dropdown methods.. the
> >>> user selects the option from the first menu and the second is created
> >>> dynamically using ajax. their is a third option which will be
> >>> populated based on their selection of the second dropdown. however
> >>> this does not work... seems the onchange method isn't workin? any
> >>> ideas guys? here's a snippet of my code
> >>>
> >>> 
> >>>   $("#jumpMenu").change(function()
> >>>   {
> >>>   var x = $(this).val();
> >>>   $.ajax({
> >>>   type: "GET",
> >>>   url:
> "/bookstore/includes/israel_mod/ajax.php",
> >>>   data: "type=division&catId=" + x,
> >>>   dataType: "html",
> >>>   success: function(html){
> >>>   $("#department_select").html(html);
> >>>   },
> >>>   error: function(msg){
> >>>   alert( "An Error: " + msg );
> >>>   }
> >>>   });
> >>>   });
> >>>
> >>>   $("#jumpMenu2").change(function()
> >>>   {
> >>>   var z = $(this).val();
> >>>   alert(z);
> >>>
> >>>   });
> >>>
> >>> NOTE: #jumpMenu2 is the second dropdown that doesn't seem to be taking
> >>> the change event (i put a test alert, but it doesn't work), this is
> >>> also the dynamically generated select .. would it be .. because it is
> >>> appended into the html? any ideas
> >>>
> >>> thanks a lot, this has me wtih a massive migraine, can't figure out
> >>> why it wouldn't accept the onchange funchtion
> >>>
> >>> Israel
> >>>
> >>>
> >>>
> >> Hi Israel
> >>
> >> Check out my recently announced plugin called LinkedSelects.
> >>
> >> http://www.msxhost.com/jquery/linked-selects/json/
> >>
> >> It might be of assistance to you!
> >>
> >> Cheers
> >>
> >> Rob
>


[jQuery] Re: jQuery Datagrid Plugin v.7

2007-10-04 Thread Web Specialist
Matt,

may be another users can report that occurrence when next button is clicked.
Using FF 2.0.0.7(Firebug enabled) and after page loads, clicking in next
button starts 3 request to the server(remote.php).

Thanks for your time.
Marco Antonio

2007/10/4, matthew knight <[EMAIL PROTECTED]>:
>
>
> Thanks Marco,
>
> Also cheers for reporting the bug with the page toolbar textbox - this
> is now fixed.  Download the latest here:
> http://reconstrukt.com/ingrid/index.html#download
>
> Matt
>
> On Oct 3, 8:00 pm, "Web Specialist" <[EMAIL PROTECTED]> wrote:
> > 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: jQuery Datagrid Plugin v.7

2007-10-03 Thread Web Specialist
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] tablesorter plugin - could be a bug

2007-10-02 Thread Web Specialist
Hi guys.

I'm testing tablesorter(www.tablesorter.com) plugin to work in a huge table.
Tablesorter is a nice tool. But may be I don't know how to sort date column
properly. Please look this link

*http://tinyurl.com/33rw7p*

First column could be sortable but I don't how to do that. Could be a bug?

Cheers


[jQuery] Re: Validation plugin noob

2007-09-28 Thread Web Specialist
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: 
> 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:
> >
> > 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  > 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:
> >  > class="formfield" maxlength="50">
> >
> > -- Josh
> >
> >
> >
>
>


[jQuery] Re: Validation plugin - alphanumeric password with min length

2007-09-22 Thread Web Specialist
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

2007-09-17 Thread Web Specialist
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
>
>
> The version 1.0 of the Ctag based on the powerfull forms plugin of
> Jquery has been released.
>
> Some of the features
> 
> Place 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
> Choose where to place the error validation message (inline or in a
> separate box)
> Choose between the incredible wide validation rules of the
> validation.js plugin. See the full API
> 
> Use Ajax submit simply adding AJAX="true" attributes
> Place the target content that will load the ajax response anywhere
> in the page using the brother cfJq_forms_target Ctag
> Combine the validation and ajax behaviour without any restricion li>
> 
> So just have a test and let me know
> Examples Page
>
> Full API coming soon
>
>
>
>


[jQuery] Re: New plugin - Linked Selects

2007-09-16 Thread Web Specialist
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

2007-09-15 Thread Web Specialist
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?

2007-09-14 Thread Web Specialist
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] Re: Autocomplete on the contents of a table: how to?

2007-09-14 Thread Web Specialist
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] yav plugin could be use Jorn's approach

2007-09-12 Thread Web Specialist
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:


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

2007-09-12 Thread Web Specialist
Jörn,

I know your great job in form validation plugin. Form Validation Plugin is
awesome. Period!

I'll waiting that improvements looking for better performance.

Thanks!

2007/9/12, Jörn Zaefferer <[EMAIL PROTECTED]>:
>
>
> Bernd Matzner schrieb:
> >
> >> 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.
> >>
> >
> > Hi, somewhat unrelated to the thread: 6 or even 16 secs seem like an
> > eternity. What would be the disadvantages of using server-side
> > validation in such a case? I'm asking this because I keep wondering if
> > server-side validation is necessary anyway for non-JS visitors, why
> > not use Ajax and do the validation on the server and simply display
> > the errors using JS if available...
> >
> Please note that I never even tried to optimize the validation plugin
> for performance. I never had to deal with "monster forms", and still
> consider them problematic anyway. But it seems like there are quite a
> few people who have to deal with those monster forms, once I've got a
> testcase setup it should be possible to improve the performance a lot. I
> just have to find the actual bottleneck.
>
> I guess serializing a monster form and sending it via ajax and then
> displaying messages via JS won't be that much faster.
>
> -- Jörn
>


[jQuery] Re: jquery 1.2 feedback

2007-09-11 Thread Web Specialist
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] Re: jquery 1.2 feedback

2007-09-11 Thread Web Specialist
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: [Plugin] Password Strength Meter

2007-08-20 Thread Web Specialist
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] Disabling ctrl+v(paste) in forms with jquery

2007-08-20 Thread Web Specialist
I'm looking a script to disable users to paste content in forms using
ctrl+v. How to avoid that?

Cheers


[jQuery] Re: ColdFusion tag for Tabs

2007-08-17 Thread Web Specialist
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

2007-08-16 Thread Web Specialist
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

2007-08-12 Thread Web Specialist
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

2007-08-10 Thread Web Specialist
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: jQuery capture images from webcam

2007-07-25 Thread Web Specialist

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] Re: Grid question

2007-07-25 Thread Web Specialist

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: Grid question

2007-07-25 Thread Web Specialist

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=potatoes&FORM=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] jQuery capture images from webcam

2007-07-25 Thread Web Specialist

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: Does jQuery have function for ajax periodical updater

2007-07-25 Thread Web Specialist

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 Live Search - where?

2007-07-24 Thread Web Specialist

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: [Announce] jQuery Reference Guide available for pre-order

2007-07-23 Thread Web Specialist

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] Re: [Announce] jQuery Reference Guide available for pre-order

2007-07-23 Thread Web Specialist

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: clueTip updates and new theme

2007-07-23 Thread Web Specialist

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:

http://localhost/local/cluetip/ajax4.cfm";>
Testing clueTip plugin


- 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:

   $('')
 .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: clueTip updates and new theme

2007-07-23 Thread Web Specialist

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:
>
>  id="http://localhost/local/cluetip/demo/ajax4.htm"; title="Testing new
> clueTip Plugin">
> Test
> 
>
> 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:
>
>  id="http://localhost/local/cluetip/demo/ajax4.htm";
> title_clueTip="Testing new clueTip Plugin">
> Test
> 
>
> 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

<>

[jQuery] Re: clueTip updates and new theme

2007-07-23 Thread Web Specialist

Karl,

I'll want to suggest a little change in your clueTip plugin. Using this
code:

http://localhost/local/cluetip/demo/ajax4.htm";
title="Testing new clueTip Plugin">
Test


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:

http://localhost/local/cluetip/demo/ajax4.htm";
title_clueTip="Testing new clueTip Plugin">
Test


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 () now comes before ,
> 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
> -  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

2007-07-20 Thread Web Specialist

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 () now comes before ,
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
-  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: jTip hover cache

2007-07-13 Thread Web Specialist

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: jTip hover cache

2007-07-13 Thread Web Specialist

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

2007-07-13 Thread Web Specialist

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] jTip hover cache

2007-07-13 Thread Web Specialist

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: jQuery + AjaxCFC Tutorial Part 1

2007-07-09 Thread Web Specialist

Awesome!

2007/7/9, Christopher Jordan <[EMAIL PROTECTED]>:


 Hi folks,

Just wanted to let y'all know that I've written the first of a two
(possibly three) part tutorial on using Rob Gonda's AjaxCFC with 
jQuery.
Part two will be about manipulating complex data returned from a CFC. The
tentative part three will be about debugging using AjaxCFC.

I hope people will find this useful.

Chris

--
http://www.cjordan.us




[jQuery] Re: Field Plug-in Update: Added $("form").formHash() method....

2007-07-03 Thread Web Specialist

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

2007-06-29 Thread Web Specialist

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] Re: OT: Pingdom: Web Page Loading Time Tester

2007-06-29 Thread Web Specialist

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

2007-06-29 Thread Web Specialist

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: Joern Form Validation hangs IE when validate monster forms

2007-06-29 Thread Web Specialist

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] Joern Form Validation hangs IE when validate monster forms

2007-06-28 Thread Web Specialist

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: BlockUI and unBlockUI after validation routine

2007-06-28 Thread Web Specialist

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
> 
> $(function() {
> $('#SubmitForm').click(function() {
> $.blockUI();
> });
> });
> 
>
> 
> $(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();
> });
> 
>
>
>
>  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

2007-06-28 Thread Web Specialist

Sorry Mike. I'm using in our intranet. But code is simple like this:

// function to show wait message when user fires submit button

   $(function() {
   $('#SubmitForm').click(function() {
   $.blockUI();
   });
   });



   $(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();
   });




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

2007-06-28 Thread Web Specialist

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] BlockUI and unBlockUI after validation routine

2007-06-28 Thread Web Specialist

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] Interface shopping cart - how to insert in DB

2007-06-26 Thread Web Specialist

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


  1   2   >