40 likes | 186 Views
onload J avaScript Strings. 22 April 2014. onload. Using JavaScript to create content No user input Comes up when page LOADS <body onload =“ doitnow ()”>. JavaScripts Strings Easier. Length: stringname .length Functions: stringname .function ()
E N D
onloadJavaScript Strings 22 April 2014
onload Using JavaScript to create content No user input Comes up when page LOADS <body onload=“doitnow()”>
JavaScripts Strings Easier • Length: stringname.length • Functions: stringname.function() • Concatenation: + or stringname.concat() • Lots more functions • Use of negative index to come from end • Built-in regular expressions • Excellent summary