var sometext = “here is more HTML”; $(“p#text1”).append(sometext); // added after $(“p#text1”).prepend(sometext); // added before
Leave a CommentTutorials / Programming tips Posts
var maxheight = 0; $(“div.col”).each(function(){ if($(this).height() > maxheight) { maxheight = $(this).height(); } }); $(“div.col”).height(maxheight);
Leave a Comment$(“a[href=’#top’]”).click(function() { $(“html, body”).animate({ scrollTop: 0 }, “slow”); return false; });
Leave a Comment$(“a”).on(“click”, function(e){ e.preventDefault(); });
Leave a CommentIn this post, you will find practical examples showing how to install and use the zip command to compact and organize files within your file…
Leave a CommentWithing the loop – it will display the post tags $posttags = get_the_tags(); if ($posttags) { foreach($posttags as $tag) { echo ”.$tag->name .’ ‘; }…
Leave a CommentAccording to the conditional comment this is not IE 5-9
Leave a CommentThis post shows the possible ways to remove specific element from array based on value of the element. Removing specific value Using array_diff() Using this…
Leave a CommentThis tutorial will describe the usage of the PHPExcel library to generate an Excel file from a PHP array. Usage of PHPExcel library is very…
5 CommentsThis article shows how to read RSS feeds using php script. If you are reading this post you might know about RSS feeds and it’s…
Leave a CommentYou can use getQueryLog() method to get most recently executed queries. But in Laravel 5.1 it is disabled by default. So you have to enable…
Leave a CommentFor small-scale applications single route file is sufficient but large-scale applications its cumbersome to maintain and organize the routes. The solution for this was creating…
1 CommentHey, Today I would like to show you how we can convert PDF to JPEG using imagick extension. Imagick is a native php extension to…
15 CommentsToday I would like to write about one of the little-known features of laravel eloquent called “replicate”. To copy everything from existing row we just…
4 CommentsThe answer is yes. If you have a blog and are looking to earn some money through means other than Adsense, we have some solutions…
2 Comments