Forum Articles
  Welcome back Join CF
You are here You are here: Home | Forum | How to update html values using a textbox

You are currently viewing our boards as a guest which gives you limited access to view most of the discussions, articles and other free features. By joining our Virgin Media community you will have full access to all discussions, be able to view and post threads, communicate privately with other members (PM), respond to polls, upload your own images/photos, and access many other special features. Registration is fast, simple and absolutely free so please join our community today.


Welcome to Cable Forum
Go Back   Cable Forum > Computers & IT > General IT Discussion
Register FAQ Community Calendar

How to update html values using a textbox
Reply
 
Thread Tools
Old 13-03-2004, 21:05   #1
daft_vader
Inactive
 
Join Date: Nov 2003
Location: Warwickshire
Age: 44
Posts: 5
daft_vader has a little shameless behaviour in the past
Question How to update html values using a textbox

Hi

Hope somebody could help

I would like to be able to update the values contained in "Width" + "Height" paremeters in the following html code by typing in values from a textbox on the same web page.

<applet code="******.class" width=350 height=226>

How would I go about this?

Any help would be great

Thanks

Daft
daft_vader is offline   Reply With Quote
Advertisement
Old 13-03-2004, 21:36   #2
threadbare
Inactive
 
threadbare's Avatar
 
Join Date: Nov 2003
Location: Wales
Posts: 459
threadbare is a glorious beacon of lightthreadbare is a glorious beacon of lightthreadbare is a glorious beacon of lightthreadbare is a glorious beacon of lightthreadbare is a glorious beacon of lightthreadbare is a glorious beacon of lightthreadbare is a glorious beacon of light
Re: How to update html values using a textbox

Quote:
Originally Posted by daft_vader
Hi

Hope somebody could help

I would like to be able to update the values contained in "Width" + "Height" paremeters in the following html code by typing in values from a textbox on the same web page.

<applet code="******.class" width=350 height=226>

How would I go about this?

Any help would be great

Thanks

Daft
you would need to set width and height as variables
threadbare is offline   Reply With Quote
Old 13-03-2004, 21:42   #3
Alan Waddington
Inactive
 
Alan Waddington's Avatar
 
Join Date: Jun 2003
Location: Farnham
Posts: 503
Alan Waddington has a spectacular aura about themAlan Waddington has a spectacular aura about themAlan Waddington has a spectacular aura about themAlan Waddington has a spectacular aura about them
Re: How to update html values using a textbox

Try this http://www.javaworld.com/javatips/jw-javatip80_p.html

OK, the example is aimed at resizing from the java applet, but you could just as easily get put a textbox on a form and set the form Submit method to call a javascript function to read the values out of the textbox(es) and set the height & width as in the above example
Alan Waddington is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 15:39.


Server: lithium.zmnt.uk
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
All Posts and Content are © Cable Forum