Wednesday, June 11, 2008

For one of my assignments at college i am required to validate a phone number- which i have done in JavaScript in conjunction with a button. The code looks like this:
function isNumeric(elem- helperMsg){
var numericExpression = /^[0-9]+$/;
if(elem.value.match(numericExpression)){
return true;
window.location = "index.html";
}else{
alert(helperMsg);
elem.focus();
return false;
}
}

I am also trying to get the button to take the user back to the index page. Is this possible?

It keeps telling me "Hello- you either have Javascript turned off or an old version of Adobe player." The weird thing is I do have Javascript turned on and I have the latest Adobe player that is why the video loads eventually but the message shows for about two seconds. It s annoying. Does anyone know why?

It s very urgent plz ANYONE HELP ME

i need some links for oops concept in javascript?

please help

thanks in advances

I ve tried to open YouTube today and it says:
Hello- you either have JavaScript turned off or an old version of Adobe s Flash Player. Get the latest Flash player.

Then i tried to download the Flash player...It says it was version 9.0 now on the web.I also checked my Java Script and it was already enabled.My friend was able to view the videos in YouTube while i cannot.Yesterday was normal.

But something strange is the videos from YouTube emdedd in Friendster is okay to watch...What happened?Can anyone help me???Please and Thank You...

I have to create an intranet for work. I need to be able to retain the top and left navigation menus (dhtml with javascript if this helps) whilst returning search results or other links to the main area. I have tried using the old Frames method but I need to be able to scroll down the page as the left hand menu goes down further than the majority of our users screen resolutions can handle. If I turn on scrolling for the left hand frame it looks very bad.
If it wasn t for the need to return search results to the page and keep the look and feel of the page the same I would use templates.
Our current intranet uses pretty much all asp and is able to do it but it looks really complicated. Lastly we are a not-for-profit organisation so it can t cost anything or close to it.
Has anyone got any suggestions?

No comments: