[jQuery] Validation Plugin

2007-07-12 Thread howard chen
abt this plugin: http://bassistance.de/jquery-plugins/jquery-plugin-validation/ several problems: 1. Is it possible to dynamic add INPUT into the current list of checking? 2. Is it possible to user `id` instead of `name`? 3. Is it possible to check for something like name="email[]" ? THanks

[jQuery] Simple plugin to rollove an image

2007-06-21 Thread howard chen
As discussed previously in the group, I make a very simple plugin to rollover an image.. Codes: jQuery.fn.swapimage = function() { $(this).hover(function() { currentImage = $(this).attr('src'); $(this).attr('src',$(this).attr('rel'))}, function(){ $(this).attr('sr

[jQuery] Rollover plugin?

2007-06-18 Thread howard chen
Hello, Anyone know any easy to use and clean image rollover plugin which can replace the DW rollover scripts? I don't like the DW scripts since it make my HTML difficult to read... Thanks.

[jQuery] Get the checked status from radio button?

2007-06-05 Thread howard chen
Using the traditional method, it worka console.debug ( document.getElementById("type_1").checked ); But this one failed... console.debug( $("#type_1").checked ); any method to get using jquery? thanks.

[jQuery] Validation plugin can't work with IE7?

2007-06-01 Thread howard chen
The following script work with FF 2.0.0.3, but not IE7, all scripts are latest version from correspoinging web sites = $.validator.setDefaults({ debug: true }); $().ready(function() {

[jQuery] Metadata plugin

2007-05-28 Thread howard chen
Hello, I don't know why my example on metadata plugin won't work, in IE7,nothing has been show up...(no error) Source Code: == http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";> http://www.w3.org/1999/xhtml";> Demo This is a p $.meta.setType("attr", "data"); alert(

[jQuery] Integrating JQeury with other library

2007-04-29 Thread howard chen
Halo, To many of us, jquery is a swiss army knife rather than complex js library such as dojo or yui. But sometimes, we really want to integrate jquery into our existing library in used, e.g. YUI or home-made library But we want jquery to under a specific namespace, such as YAHOO.util.jquery..

[jQuery] Recommended way to overload jquery method?

2007-04-22 Thread howard chen
I want to overload some core jQuery method, e.g. trim() method any codes sample or recommendation to do this? thanks.

[jQuery] Re: Question about jQuery + CSS

2007-04-17 Thread howard chen
sorry, a:hover is just an example, what i want is to style pseudo class, such as a:visited, a:active etc Try jQuery("a").mouseover( function() { $(this).css("fontSize", "20px"); } );

[jQuery] Question about jQuery + CSS

2007-04-17 Thread howard chen
hody 1. How to set the css in each() iteration? e.g. jQuery("a").each(function() { // change css // do the rest ) I don't want to use jQuery("a").css as it as imply two dom querying doing the same thing 2. How to set the following CSS? a:hover { font-size:20px; } Thanks.