Click here to Skip to main content
15,913,279 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hello All,

I am working on aproject where i need to display a dropdown list with backhroung color as gradient.
the output should be like this: http://v2.easy-designs.net/articles/replaceSelect/files/final.html
but after using various jQuery plugin I have successfully render the output but another issue which raised is that I am not able to get the events in back end.

There is a post back issue when i used jQuery files and an error was thrown.

So, I am searching for a plugin or suggestion for generating similar output.


waiting for your suggestions......


Thanks in Advance...:)
Chirag
Posted

Hi, Looks like you're overriding the .NET onclick event with your:
JavaScript
this.onclick = function() {
   selectMe(this);
}

This could prevent event to trigger. You should try to add the __doPostBack function for the dropdown inside the onclick event too.

Run some test and let me know!
 
Share this answer
 
Perhaps this article may help you well.JQuery: Playing with Select (DropDownList/ComboBox)[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900