You are not connected. Please login or register

View previous topic View next topic Go down  Message [Page 1 of 1]

1 javascript or php+html form on 21/6/2012, 5:55 pm



I know how to make a html form with text box and submit button. But how do i get it to display the stuff from the text box on a another tab as html(the stuff in the text box is held with html page script) page,like the the w3school's "try it yourself" but pops into another tab.

View user profile

2 Re: javascript or php+html form on 21/6/2012, 9:00 pm



You can do that with JS, which is probably safer.

You can save a reference to a window that you open.

var new_window = properties etc);
new_window.document.write(textbox value);

Sorry that's a bit of a shortened version, i'm in a rush.
But look into method, it allows you to open another window and manipulate it, eg adding html to it from a textbox Wink

View user profile

View previous topic View next topic Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum