The following two examples will demonstrate how to use JavaScript and/or ajax to implement mult iple tab webpages. http://www.dynamicdrive.com/dynamicindex17/ajaxtabscontent/ http://www.barelyfitz.com/projects/tabber/example2.html I have used the first code extensively in one of my applications. The basic ides is: you define a div section. On each click, you change the contents of that div section using Ajax concepts. …
Category: FromSitesTree.com
Jul 14
Handling Checkbox arrays with Javascript::GetElementsByName:XHTML supported #JavaScript
The following code demonstrates how to handle checkboxes with JavaScript. Note the names of all c heck boxes are same myInput[]. It could also be myInput. Both works as an array to contain the controls’ values. I prefer myInput[] as you can handle this control in PHP as an array. If you use $arr=$_POST[‘myInput’], $arr …
Jul 14
JavaScript by Example #JavaScript
JavaScript by Example: Example 1.1 A si mple JavaScript program Run View Source Example 1.2 An HTML form with a JavaScript event handler defined Run View Source Example 1.3 Estimating Your Taxes with JavaScript Run View Source Example 6.1 Defining JavaScript Functions View Source Example 6.2 Using Functions as Data View Source Example 6.3 Checking …
Jul 14
JavaScript – Form validation #JavaScript
The code will be helpful in validating data entry forms such as: user registration, user creati on. 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} …
Jul 14
Configure Mac OsX for Laravel Development with Valet #Laravel
/usr/bin/ruby -e “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)” brew update brew install homebrew/php/php71 composer global require laravel/valet export PATH=$PATH:~/.composer/vendor/bin — not required curl -sS https://getcomposer.org/installer | php curl https://getcomposer.org/installer | php — php -r “copy(‘https://getcomposer.org/installer’, ‘composer-setup.php’);” php -r “if (hash_file(‘SHA384’, ‘composer-setup.php’) === ‘669656bab3166a7aff8a7506b8cb2d1c292f042046c5a994c43155c0be6190fa0355160742ab2e1c88d40d5be660b410’) { echo ‘Installer verified’; } else { echo ‘Installer corrupt’; unlink(‘composer-setup.php’); } echo PHP_EOL;” php …
Jul 14
Installing JBOSS Tools in Eclipse #JBOSS
From: http://sitestree.com/?p=2637 Categories:JBOSSTags:JBOSS, Tool, Eclipse Post Data:2015-10-20 12:44:11 Shop Online: https://www.ShopForSoul.com/ (Big Data, Cloud, Security, Machine Learning): Courses: http://Training.SitesTree.com In Bengali: http://Bangla.SaLearningSchool.com http://SitesTree.com 8112223 Canada Inc./JustEtc: http://JustEtc.net (Software/Web/Mobile/Big-Data/Machine Learning) Shop Online: https://www.ShopForSoul.com/ Medium: https://medium.com/@SayedAhmedCanada
Jul 14
Some JavaScript stuff that you need to know #JavaScript
What you really need to learn in Javascript? 1. Where you can place JavaScript codes? Anywhere in the web-pages, ideally in the header section, or in an external file. If you keep javascript codes in an external file, the codes will be re-usable from different web-pages 2. Some basic programming: <script language=”javascript” type=”text/javascript”> </script> <script …
Jul 14
Laravel Localization #Laravel
[youtube https://www.youtube.com/watch?v=ad4KG_GOMgQ&w=640&h=360] From: http://sitestree.com/?p=10406 Categories:LaravelTags: Post Data:2017-01-07 18:28:33 Shop Online: https://www.ShopForSoul.com/ (Big Data, Cloud, Security, Machine Learning): Courses: http://Training.SitesTree.com In Bengali: http://Bangla.SaLearningSchool.com http://SitesTree.com 8112223 Canada Inc./JustEtc: http://JustEtc.net (Software/Web/Mobile/Big-Data/Machine Learning) Shop Online: https://www.ShopForSoul.com/ Medium: https://medium.com/@SayedAhmedCanada
Jul 14
Introduction to Laravel View #Laravel
[youtube https://www.youtube.com/watch?v=jqDToSwfqn8&w=640&h=360] From: http://sitestree.com/?p=10409 Categories:LaravelTags: Post Data:2017-01-07 18:30:42 Shop Online: https://www.ShopForSoul.com/ (Big Data, Cloud, Security, Machine Learning): Courses: http://Training.SitesTree.com In Bengali: http://Bangla.SaLearningSchool.com http://SitesTree.com 8112223 Canada Inc./JustEtc: http://JustEtc.net (Software/Web/Mobile/Big-Data/Machine Learning) Shop Online: https://www.ShopForSoul.com/ Medium: https://medium.com/@SayedAhmedCanada
Jul 14
Forge: Painless Server Management including Digital Ocean and AWS #Laravel
PAINLESS SERVER MANAGEMENT. Sure, you can do all of these on your Own in platforms like AWS or Digital Ocean. However, Forge has made them easy and user friendly (you do not have to be an expert on Linux or so) Numerous Cloud Providers Choose between AWS, Digital Ocean, Linode, or even your own custom …
