Jeff - Yes, thank you!! You got me pointed in the right direction and I'm adding in some error checking.
Now I've been tasked with getting the js to run from within the html of the page with something like an onkeypress or onclientclick event. Any suggestions on how to get that string...
For reasons beyond my control (ugh), I've been asked to rewrite the js into a single string within my page. So I was starting to do something like onkeypress="if(even.keyCode == 13){window.open...
**********************Code Below*************
<label>Search</label>
<input...
How would I form this js into a single string?
<script type="text/javascript">
function SearchForIt()
{
var searchWord = document.getElementById("searchWord").value;
var searchSelection = document.getElementById('searchSelection').value...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.