'show' image on button click
-
- Profound User
- Posts: 22
- Joined: Fri Aug 06, 2010 1:40 pm
- First Name: Rich
- Last Name: Dotson
- Company Name: Wheeling & Lake Erie Rail
- State / Province: Ohio
- Country: United States
- Contact:
'show' image on button click
I would like to have an image hidden when the page is displayed but then make the image visible and submit the form when a button is clicked. I've tried a few different things using some of the examples that are in the 'Client-side Scripting API Reference' but cannot seem to get this to work. Does anyone have the javascript that I can place in the .onclick event that will make this happen?
-
- Profound User
- Posts: 27
- Joined: Thu Dec 02, 2010 1:27 pm
- First Name: Greg
- Last Name: Sears
- Company Name: Profound Logic
- Phone: 937-439-7925
- Address 1: 562 Congress Park
- City: Dayton
- State / Province: Ohio
- Zip / Postal Code: 45459
- Country: United States
- Contact:
Re: 'show' image on button click
On the buttons onclick event, try adding the following API:
applyProperty("MyImageId", "visibility", "visible"); pui.click("MybtnId")
also, make sure that you set the Image visibility property to "hidden".
Let me know if this helps.
applyProperty("MyImageId", "visibility", "visible"); pui.click("MybtnId")
also, make sure that you set the Image visibility property to "hidden".
Let me know if this helps.
-
- Profound User
- Posts: 22
- Joined: Fri Aug 06, 2010 1:40 pm
- First Name: Rich
- Last Name: Dotson
- Company Name: Wheeling & Lake Erie Rail
- State / Province: Ohio
- Country: United States
- Contact:
Re: 'show' image on button click
That worked great. Thanks for the quick response.
Who is online
Users browsing this forum: No registered users and 5 guests