in reply to changing title of a webpage dynamically
If you want to change the title “and such” using buttons, then it is extremely probable that you will need to use JavaScript to do that.
You see, the only time that the server (i.e. Perl) would become involved, is when there is a “round-trip” involved: the client makes an HTTP GET or POST to the server, and server replies with an HTTP response.
Most likely, everything that you want to happen ... happens entirely on the client side, start to finish. As the most-simple example, the button could contain a onclick= handler which runs a bit of JavaScript code that changes, say, the window.title (in the browser’s own DOM model). When the JavaScript code does that, the browser obediently repaints the screen. The server, meanwhile, has nothing to do with it.
Replies are listed 'Best First'. | |
---|---|
Re^2: changing title of a webpage dynamically
by tejas (Initiate) on Jun 05, 2013 at 15:13 UTC | |
by tejas (Initiate) on Jun 05, 2013 at 20:02 UTC | |
by Anonymous Monk on Jun 06, 2013 at 08:53 UTC |