pass value to externel js file..
I have a small text input area where people can enter a postcode, with this i have two submit buttons, each do different things when clicked. Take a look..
Ok, now what i want to do is basically do away with all this. So what i intend to do is put the postcode in myself with php echo. And hide it away. So the top line will now look like this...
Postcode: <input type="text" id="postcode" size="10" /><br />
Postcode: <input type="hidden" id="postcode" value="<?php echo $postcode; ?>" />
thanks for any replies or help this may attract.