Jump to content

Textbox onchange event using print


Scope72

Recommended Posts

Need help please.  Does anyone see a problem with calling the onchange event in here.  I have tried this and can't get it to work at all.

 

 

function dothis(){

 

<?php

 

      print '<input type="text" size="5" onchange="nowdothis()" value="TextBox">';

?>

 

function nowdothis()

{

    $fp = fopen('error.txt','w');

    fwrite($fp,"This");

    fclose($fp);

 

 

}

 

 

Thank you for any help.

Link to comment
https://forums.phpfreaks.com/topic/245166-textbox-onchange-event-using-print/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.