mcse
-
Posts
7 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Posts posted by mcse
-
-
Hey Guys I m new learning javascript, I Wrote basic code however not working any help please
function Hello(){ var con = confirm("Do You want to go to Google " ?);if(con === true){ location = "http://www.google.com";} else { location.reload();}}Hello();
Loop not working with function
in JavaScript
Posted
Hi guys , any tips ???
for (var i = 0; i <= 5; i++) { var greeting = function (name) { console.log('My name is ' + name + i); };}greeting('Jeremy'); // My name is Jeremy 6