By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,385 Members | 1,767 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,385 IT Pros & Developers. It's quick & easy.

button with different properties

P: 1
i want to have three different properties for a button..i want to create and extendor using ajax such that the below given should be the properties
the button should have 3 properties,upon selection button
--can be normal button
--button with image beside it
--button which should have a new pop up window with modal properties
Sowmya Kuruvella
Sep 8 '06 #1
Share this Question
Share on Google+
1 Reply

Expert Mod 15k+
P: 16,027
No need for Ajax. You can use a drop down and depending on the selection, change the properties of the buttons. To show an image, change the button type to an image using btnObj.type = "image". To open a popup, change the onclick to use or for a modal window, where supported, you can use window.showModalDialog().
May 14 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.