Category: FromSitesTree.com

JavaScript Miscellaneous Topics #13

JavaScript Miscellaneous Topics. Please check below. Detect browser name and version: var browser=navigator.appName; var b_version=navigator.appVersion; Other browser related: navigator.appCodeName, navigator.platform, navigator.platform , navigator.cookieEnabled , navigator.userAgent, navigator.appMinorVersion, navigator.cpuClass, navigator.onLine, navigator.browserLanguage, navigator.systemLanguage, navigator.userLanguage It’s a good idea to use escape function for setting cookie values (if more than one word). Also, use unescape function on the value …

Continue reading

JavaScript Short-notes: #13

Ajax: An Overview Handling Checkbox arrays with Javascript::GetElementsByName:XHTML supported How to implement multiple tab webpages in Ajax and Javascript Javascript – Form validation JavaScript – Miscellaneous Validations Javascript by Example Javascript Codes JavaScript DOM: Must knowledge to understand Ajax JavaScript Frameworks JavaScript Miscellaneous Topics JavaScript: Pass by Value: Pass by Reference Random Notes on JavaScript/HTML …

Continue reading

Random Notes on JavaScript/HTML #13

This short-note will make sense, only if you already have some javascript sense. It can be used – just to refresh memory, once in a while. My JavaScript Experience? started on 2000, conducted a JavaScript Training Session on 2001, wrote a book for a training institute on JavaScript on 2001, using javascript always from that …

Continue reading

JavaScript Frameworks #13

The following web-resources discuss some JavaScript Frameworks. Comparisons among the frameworks can also be found. Discussion on the best JavaScript Framework Google Web Toolkit (GWT) DOJO: Home Page JQuery Dojo in Wikipedia Comparison of JavaScript frameworks A Book on DOJO Install DOJO DOJO Hello World Application From: http://sitestree.com/?p=5000 Categories:13Tags: Post Data:2007-10-12 20:52:16 Shop Online: <a …

Continue reading

GWT: Google Web Toolkit #13

http://code.google.com/webtoolkit/overview.html GWT: Product Overview: Links to installation and implementation guides GWT: Getting Started Guide From: http://sitestree.com/?p=5001 Categories:13Tags: Post Data:2009-07-13 16:16:55 Shop Online: <a href=’https://www.ShopForSoul.com/’ target=’new’ rel=”noopener”>https://www.ShopForSoul.com/</a> (Big Data, Cloud, Security, Machine Learning): Courses: <a href=’http://Training.SitesTree.com’ target=’new’ rel=”noopener”> http://Training.SitesTree.com</a> In Bengali: <a href=’http://Bangla.SaLearningSchool.com’ target=’new’ rel=”noopener”>http://Bangla.SaLearningSchool.com</a> <a href=’http://SitesTree.com’ target=’new’ rel=”noopener”>http://SitesTree.com</a> 8112223 Canada Inc./JustEtc: <a href=’http://JustEtc.net’ target=’new’ rel=”noopener”>http://JustEtc.net …

Continue reading

JavaScript: Pass by Value: Pass by Reference #13

JavaScript: Pass by Value: Pass by Reference From: http://sitestree.com/?p=5090 Categories:13Tags: Post Data:2007-11-21 23:00:16 Shop Online: <a href=’https://www.ShopForSoul.com/’ target=’new’ rel=”noopener”>https://www.ShopForSoul.com/</a> (Big Data, Cloud, Security, Machine Learning): Courses: <a href=’http://Training.SitesTree.com’ target=’new’ rel=”noopener”> http://Training.SitesTree.com</a> In Bengali: <a href=’http://Bangla.SaLearningSchool.com’ target=’new’ rel=”noopener”>http://Bangla.SaLearningSchool.com</a> <a href=’http://SitesTree.com’ target=’new’ rel=”noopener”>http://SitesTree.com</a> 8112223 Canada Inc./JustEtc: <a href=’http://JustEtc.net’ target=’new’ rel=”noopener”>http://JustEtc.net (Software/Web/Mobile/Big-Data/Machine Learning) </a> Shop Online: <a href=’https://www.ShopForSoul.com’> …

Continue reading

Javascript Codes #13

Javascript is a very powerfull scripting language for web-site development. Also, it is in much demand. In Europe Javascript experts earn 29-58 pound/hour [ref: Internet] var serviceInstancesArrAtLoad = Array(); var serviceInstancesArrAtSubmit = Array(); var tempArr=Array(); function validate_required(field,alerttxt) { with (field) { if (value==null||value==”) { alert(alerttxt);return false } else {return true} } } function validateTicketCreateForm(thisform) { …

Continue reading

Introduction to JQuery #13

Introduction to JQuery JQuery Tutorials Google Ajax Libraries API From: http://sitestree.com/?p=4948 Categories:13Tags: Post Data:2012-04-20 15:42:24 Shop Online: <a href=’https://www.ShopForSoul.com/’ target=’new’ rel=”noopener”>https://www.ShopForSoul.com/</a> (Big Data, Cloud, Security, Machine Learning): Courses: <a href=’http://Training.SitesTree.com’ target=’new’ rel=”noopener”> http://Training.SitesTree.com</a> In Bengali: <a href=’http://Bangla.SaLearningSchool.com’ target=’new’ rel=”noopener”>http://Bangla.SaLearningSchool.com</a> <a href=’http://SitesTree.com’ target=’new’ rel=”noopener”>http://SitesTree.com</a> 8112223 Canada Inc./JustEtc: <a href=’http://JustEtc.net’ target=’new’ rel=”noopener”>http://JustEtc.net (Software/Web/Mobile/Big-Data/Machine Learning) </a> Shop Online: …

Continue reading

JavaScript – Miscellaneous Validations #13

function validateDomainName(strValue) { return /www.[a-z0-9_-]+.[a-z]{2, 3}/ig.test(strValue); } function validateDomainName(strValue) { return /www.[a-z0-9_-]+.[a-z]{2, 3}/ig.test(strValue); } //not 100% right, will fix later function checkDateFormat() { var pattern = new RegExp(0|1[0-9]/[0-3][0-9]/[0-9][0-9]); if(document.getElementById(‘timestampStarted’).value.match(pattern)) { var date_array = document.getElementById(‘timestampStarted’).value.split(‘/’); var month = date_array[0]; var day = date_array[1]; var year = date_array[2]; // This instruction will create a date object source_date …

Continue reading

Javascript – Form validation #13

The code will be helpful in validating data entry forms such as: user registration, user creation. validate_required is used by all other functions function validate_required(field,alerttxt) { with (field) { if (value==null||value==”) { alert(alerttxt);return false } else {return true} } } function validateTicketCreateForm(thisform) { with (thisform) { if (validate_required(type,’Type must be filled out!’)==false) {type.focus();return false} if …

Continue reading