Posts

Showing posts from August, 2025

Generate QR code using jQuery

Introduction: Hello Guys, “ Welcome back” Today i am here with another one new great article. In this article I will explain about how to generate QR code using jQuery. Code for HTML Page On the HTML page there will be two controls one is text box Control with the id named text_qrcode for to enter the input by the user and other control is Button with the id named button_submit . On the Button click I assigned a JavaScript   function named QR_code() to the onclick event handler. < input id ="txt_qrcode" type ="text" /> < input type ="button" id ="btn_submit" onclick =" QR_code() " /> < div id ="qrcode" class ="" style =" padding: 10px;height:auto;width:65px; "></ div > When user will click on the Submit button then JavaScript function named QR_code() will be called. jQuery Implementation First, the jQuery files jquery-1.8.2.js as well as qrcode.min.js is...

News Ticker using JavaScript

Introduction: Hello Guys, “ Welcome back” Today i am here with another one new great article. In this article, I will explain that how to implement New Ticker using JavaScript. This article is same working as like <Marquee> Tag. Code for HTML Page   Implementation: On the HTML page I will place ul li   Tags, inside the div with id named ticker as well as div with id named ticker-box. he <ul> tag in HTML stands for "unordered list." It is used to create a list of items where the order of the items is not semantically important. By default, items within an <ul> list are displayed with bullet points. Inside the li / li tag I write the content that will show inside the New Ticker using Java  Below I am giving the complete code for this function. You can copy and paste the whole code on your HTML page to enjoy the execution of this program. < div id ="ticker"> < div id ="ticker-box">        ...

Convert HTML Table to JSON in JavaScript

Introduction: Hello Guys, “ Welcome back” Today i am here with another one new great article. In this article, I will explain that how to convert HTML Table data to JSON using JavaScript. Code for HTML Page   Implementation: On the HTML page there will be HTML Table with id named table_customers and also place a control Button with id named btn_submit. On the OnClick event handler of the Button   I will assign JavaScript function named Convert().   < table id ="table_customers" cellspacing ="0"  cellpadding ="0">     < tr >         < th > Id </ th >         < th > Name </ th >         < th > Country </ th >     </ tr >     < tr >         < td > 1 </ td >     ...