Demo Post




How to generate random string in javascript?

How to generate random string in javascript?

In this example, i will show you how to generate random string or characters in javascript. We can simply generate random alphanumeric string for token or etc in jquery. As we know jquery or javascript does not have default random string generate function so we need to create custom js function t.....

By Hardik Savani | April 4, 2019 | Category : Javascript jQuery

Add Edit Delete Table Row Example using JQuery

Add Edit Delete Table Row Example using JQuery

In this post, i want to share with ou how to add edit and delete rows of a html table with javascript or jquery. i will create very simple example of add new table row using jquery, edit html table row using jquery and remove table row on button click. If you are beginner for jquery and you want to.....

By Hardik Savani | April 13, 2019 | Category : Javascript Bootstrap HTML jQuery


How to disable f5 refresh button using jquery?

How to disable f5 refresh button using jquery?

In this post, we will learn how to prevent or disable f5 refresh in javascript. sometime we does not want to browser refresh using f5 button for our web page. so you can disable f5 key in jquery. we can easily disable f5 button using javascript with example. we will disable f5 key using keydown eve.....

By Hardik Savani | April 17, 2019 | Category : Javascript jQuery

How to use sweet alert for delete confirm in Codeigniter?

How to use sweet alert for delete confirm in Codeigniter?

In this example, i will share with you how to use sweetalert as confirmation box in codeigniter 3 application. we will use sweet alert before delete in codeigniter. we will use delete event with ajax, use sweet alert confirmation box with cancel and yes button in php codeigniter application. If you.....

By Hardik Savani | April 23, 2019 | Category : PHP Bootstrap jQuery Codeigniter Ajax

JQuery - Allow only numeric values (numbers) in Textbox

JQuery - Allow only numeric values (numbers) in Textbox

If you need to add jquery validation for your textbox like textbox should accept only numbers values on keypress event. you can also use keyup or keypress event to allow only numeric values in textbox using jquery. we will use keyCode for prevent to add string values. we will also accept numbers in.....

By Hardik Savani | April 25, 2019 | Category : jQuery