var sidebar_align = 'right';
var content_container_margin = parseInt('290px');
var sidebar_width = parseInt('270px');
Unanswered: onload highlight text...
I have a form page and I have a body onload to automatically set the cursor on field Month...
I also have in the field Month
value="<?php echo date('m'); ?>"
As a result, when the page loads the cursor goes to the month field which has the contents of the current month looks something like that ---> |10
Anyway, can I make it so the 10 is highlighte so that i can either tab to the next field "
day which has the value date('d') or i can just type 02 for feburary and the tab to the next field...
In other words, I want the 10 to be highlighted by default on page load...
Is there a way to do this?
Hope that helps some.
Thanks for your reply
I actually found this:
I put it right after value="<?php date('d'); ?>"
It worked perfect!