Java Script

  woodchip 20:08 24 Nov 08
Locked

I have had to turn it off in Flock Browser, As it was stopping PCA pages from loading fully, plus I got Login Problems. I posted it hear for those who know about web page design. Can this be a problem having it turned off? Web Pages all now load okay and faster

  Kemistri 23:31 24 Nov 08

If you browse sites that require JavaScript to provide genuinely useful or important functionality, then you will miss out. If you hit a badly coded site that relies unnecessarily on JavaScript to run its menus, then you cannot navigate through it. People who don't like JS usually use Firefox and install a script blocker add-on that provides easy white-listing of sites that need JS while minimising its intrusion at other times.

  MogsyDude22 12:05 02 Dec 08

Hi,

I am relatively new to Javascript but do understand a bit about it, I have been working on a form that contains all dropdown menus that contain answers to the question that are asked. I have the values of the dropdown boxes setup fine and all the functions to validate the form are fine as far as I am aware as it works in Internet Explorer. But I cannot for the life of me get the Popup alerts to work in FireFox or Google Chrome. And also the submit button down the bottom of the page does not work either in FireFox or Google Chrome.

This is the code I have, can anybody please shed some light on this...


function formVal()
{
var dd = document.getElementById;

if(dd('tes1').value == "na")
{
alert('Test question 1?');
dd('test1').focus();
return false;
}

if(dd('test2').value == "na")
{
alert('Test question 2?');
dd('test2').focus();
return false;
}

if(dd('test3').value == "na")
{
alert('Test question 3?');
dd('test3').focus();
return false;
}

  woodchip 21:30 02 Dec 08

You would be better creating a New Thread as I closed this one, Create it with a Header that is appropriate to your question. You may then get some help on creating Web pages and JavaScript

Advertisement

This thread is now locked and can not be replied to.

Honor 5X review: Hands-on with the new budget phone from Hauwei's young brand

1995-2015: How technology has changed the world in 20 years

You can now publish data visualisations to the web from Power BI

Complete guide to Apple's campus 2, everything we know about the new spaceship HQ, plus: new drone…