Dronealone
IS-IT--Management
Hi,
I have the following code which is supposed to open a window with the url query string being created from the input boxes:
<input type='checkbox' class='col3' name='monitor[1]' value='1'>
<input type='text' class='col4 text' name='monitor_url[1]' value=''>
<input type='text' class='col5 text' name='monitor_string[1]' value=''>
<input type="button" class="goAnchor col5" value="Test Monitoring" onClick="javascript:win2col('/fetching/test_monitoring.php?url=' + monitor_url[1].value + '&string=' + monitor_string[1].value)">
The reason I am using the monitor_url[1] type syntax is that there are many of these boxes. When the button is clicked it tells me that monitor_url is not defined.
Can anybody tell me what I am doing wrong?
Many thanks.
I have the following code which is supposed to open a window with the url query string being created from the input boxes:
<input type='checkbox' class='col3' name='monitor[1]' value='1'>
<input type='text' class='col4 text' name='monitor_url[1]' value=''>
<input type='text' class='col5 text' name='monitor_string[1]' value=''>
<input type="button" class="goAnchor col5" value="Test Monitoring" onClick="javascript:win2col('/fetching/test_monitoring.php?url=' + monitor_url[1].value + '&string=' + monitor_string[1].value)">
The reason I am using the monitor_url[1] type syntax is that there are many of these boxes. When the button is clicked it tells me that monitor_url is not defined.
Can anybody tell me what I am doing wrong?
Many thanks.