Javascript jquery checkbox checked, unchecked, ischecked

Here we will see the Javascript jquery checkbox checked and unchecked and ischecked examples. Input type checkbox How to create input checkbox in HTML.. for this, we have to use the input type checkbox. along with type we used other attributes line name value and id.

Jquery checkbox checked To select check boxes  $(“#ck1”).prop(“checked”,true); … Read more

How to get multiple checkbox value in javascript and JQuery

On many websites, you find multiple check box forms to select your interest, or to select multiple options. That can be created by using the HTML check box.

Here to make an input as a text box we need type=”checkbox”. name is a name given to a text box value property that specifies what … Read more

Javascript get ASCII value of char charCodeAt() & codePointAt()

ASCII is a Character Encoding Scheme. The full form of ASCII is American Standard Code for Information Interchange. ASCII Encode any character in 7 bits. it was developed for telegraph code. ASCII is used to represent 128 English characters in Numbers. ASCII value for A is 65, B is 66, and similar. ASCII value for … Read more

Call Javascript function from HTML

Call Javascript function from HTML can be done in following ways Call javascript function from HTML button click Call javascript function from HTML form submission Call javascript function from HTML on onload event Html call javascript function with parameters Call javascript function from HTML button click Here in HTML, a button is created on the … Read more

Window.resizeTo() in javascript

The window object represents the web browser’s window. There are various methods available in the window. one of them is resizeTo(). resizeTo() the method is used to resize the window.

Change background color on button click in javascript

Change background color on button click in javascript is a good example of DOM manipulation. You can change the background color of any element like div, paragraph or can change the color of the HTML body. To change the background color we use style property. Let us see one by one Changing the background color … Read more

JavaScript Multiplication Table Program with HTML CSS

JavaScript Multiplication Table is a multiplication table for any number. Using JavaScript we program and generate multiplication table of any number. Java multiplication table generation using for loop is developed as below Create a text box to get a number from user. Create a button to submit value on button click call the multiplicationTable() function. … Read more

isPrime() Javascript : Prime number program in Javascript

isPrime() Javascript represents a prime number checker function in Javascript. Prime number is a number which is divisible by one and number itself. like numbers 5,7,11,13,17, etc are prime numbers. Prime number program in javascript using for loop Below program uses for loop to check a number is prime or not. Create a function isPrime() … Read more

Add active class onclick javascript and jQuery

Add active class to a div on javascript onclick event Here we are applying a style to a simple div. Steps to add a css class on click event Create a div with specific id (here id=”text”) on click on div call a method makeActive() Define a function makeActive() in side <script> tag. Inside makeActive() … Read more

JavaScript Overlays with Examples

There are different kinds of JavaScript overlays for modal dialogs for prompting, overlays for info or warning boxes, tabbed overlays, alerting users overlays for displaying complex data. The overlay can implement on HTML like images, links, forms, tables, any type of div and any can be styled with CSS, like rounded borders, shadows or gradients … Read more