Tenzin D.

asked • 10/14/16

search box

i have a search box in my local website my website is not yet online and am new in programming and i cant use my search box like youtube or tottentz search box.What should i learn for a search box to work and my javascript code is not working var fileUrl='readme.html'; function checkUserName(){ var eluserName=document.getElementById('feedback'); if(elSearch.value=='readme'){ location.href=fileUrl; }else{ eluserName.textContent='try again'; } } var elSearch=document.getElementById('username'); elSearch.onblur=checkUserName;

1 Expert Answer


Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.


Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.