Knowledge Base support case for AllWebMenus,  abstracted and stripped of all user’s private info.


Initial Email From:
User
Initial Email Subject: Link menu to a textbox
Support Case Month: February 2013

I have no problem with the menu design and integration with a test webpage, but would like to be able to click on the text in the second submenu and have that text populate the textbox in an order form. Can you tell me how to accomplish this? I am using the javascript feature rich design format.

Thanks

Reply From: Likno Customer Support

Hello,

In order to do this you need to give your textbox an ID, for example:

<input id="myText" type="text" />

Then in the menu item you can use the “JavaScript Command” property of the “Mouse Click” state to add the following:

document.getElementById("myText").value="new value";

javascript command on mouse click

Best Regards, 
Kostas
Likno Customer Support
www.likno.com
Create any type of javascript menu (CSS menu, drop-down menu, sliding menu), button, html tree, modal window, tooltip, accordion, tab, scroller, jQuery slider or design for your websites!
Like us on Facebook – Follow us on Twitter

Reply From: User

Kostas,

Works great. I almost had it, but not exactly.

Thanks

 

Tags: , , , , , , , , , , , ,