Plugins

User login
Can't find a Plugin?

Can't find a Plugin you are looking for? Check out the jQuery Wiki page.

Are you a plugin developer? Please move your plugin over to this site.

Website Bug or Feature Request?

Found a bug on the new jQuery Plugin website? Have a feature request?

Submit it to the jQuery Plugin website issue queue to ensure it is noticed!

Button Value Issue


Project:jNice, styled forms
Version:0.2.2-beta
Component:Code
Category:bug report
Priority:normal
Assigned:WhiteSpace Creative
Status:fixed
Description

The plugin didn't account for the fact that submit buttons can have a value which get submitted with the form, not just displayed on the button. To fix this issue I added the small snippet of code below to line 27 of the js file.

value="'+$(this).attr('value')+'"

so the final line ended up being:

$(this).replaceWith('<button id="'+ this.id +'" name="'+ this.name +'" type="'+ this.type +'" class="'+ this.className +'" value="'+$(this).attr('value')+'"><span><span>'+ $(this).attr('value') +'</span></span>');

Comments

#1

Assigned to:Anonymous» WhiteSpace Creative
Status:active» fixed

This has been fixed with the latest release