Reply to Convert a javascript value to HTML Input

Your name:

Reply:


Posted by Stewart on 10/03/05 07:58

I'm trying to populate a HTML text or hidden input with a value from
javascript.

the Javascript values do display with this test:

<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
business = unescape(params["business"]);
amount = unescape(params["amount"]);
item_name = unescape(params["item_name"]);

document.write("business = " + business + "<br>");
document.write("amount = " + amount + "<br>");
document.write("item_name = " + item_name + "<br>");
// End -->
</script>

HTML input:

<input type="text" name="business" value=business />

I can't find any examples or direction for this.
Any suggestions?

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация