Kristi Castro has Published 104 Articles

How to adjust the height of iframe based on the loaded content using jQuery?

Kristi Castro

Kristi Castro

Updated on 20-Jun-2020 07:25:20

2K+ Views

To adjust the height of iframe, use the jQuery height() method. You can try to run the following code to adjust height of iframe dynamically on button click:ExampleLive Demo                 $(document).ready(function(){         $("button").click(function(){           $("iframe").height(300);         });       });             Change Height

How does $('iframe').ready() method work in jQuery?

Kristi Castro

Kristi Castro

Updated on 20-Jun-2020 07:24:24

2K+ Views

Here’s an example wherein the iframe size is larger than the page. We will scroll to the top of the page whenever the iframe loads using jQuery −ExampleLive Demo               $(document).ready(function(){       $("button").click(function(){         $('iframe').ready(function(){           $(window).scrollTop(0);         });       });    });           Loop through each image

How to loop through all the iframes elements of a page using jQuery?

Kristi Castro

Kristi Castro

Updated on 20-Jun-2020 07:22:57

907 Views

To loop through all the iframes element of a page, use the jQuery each() method. You can try to run the following code to learn how to loop through all iframes. We have created three iframes below −ExampleLive Demo $(document).ready(function(){   $("button").click(function(){     $("iframe").each(function(){   ... Read More

How to enable and disable submit button using jQuery?

Kristi Castro

Kristi Castro

Updated on 20-Jun-2020 07:15:21

864 Views

To enable and disable submit button, use the jQuery prop() method. You can try to run the following code to enable and disable submit button using jQuery −ExampleLive Demo               $(document).ready(function() {       $('#register').click(function() {       ... Read More

Can I submit form with multiple submit buttons using jQuery?

Kristi Castro

Kristi Castro

Updated on 20-Jun-2020 07:14:15

2K+ Views

Yes, you can submit form with multiple submit buttons. Attack a custom click handler to all the buttons and the check which button is clicked.ExampleLive Demo               $(document).ready(function(){       $("#myform button").click(function (ev) {       ev.preventDefault()   ... Read More

How to create div dynamically using jQuery?

Kristi Castro

Kristi Castro

Updated on 20-Jun-2020 07:13:16

1K+ Views

To create a div dynamically, use the html() method. You can try to run the following code to learn how to create a div dynamically on button click −ExampleLive Demo               $(document).ready(function(){       $("button").click(function(){         ... Read More

Network Data Model

Kristi Castro

Kristi Castro

Updated on 19-Jun-2020 13:04:21

12K+ Views

The network database model was created to solve the shortcomings of the hierarchical database model. In this type of model, a child can be linked to multiple parents, a feature that was not supported by the hierarchical data model. The parent nodes are known as owners and the child nodes ... Read More

Hierarchical Data Model

Kristi Castro

Kristi Castro

Updated on 19-Jun-2020 13:01:52

2K+ Views

A hierarchical data model was one of the earliest data models. This model was a file based model build like a tree. In this tree, parent could be associated to multiple child nodes, but a child node could have only one parent.In the case of directories and files, it could ... Read More

Limitations of Database Management System

Kristi Castro

Kristi Castro

Updated on 19-Jun-2020 12:58:42

17K+ Views

Database Management System is quite useful compared to the file based management system. However, it does have some disadvantages. Some of those are as follows −More CostlyCreating and managing a database is quite costly. High cost software and hardware is required for the database. Also highly trained staff is required ... Read More

File-based Data Management System

Kristi Castro

Kristi Castro

Updated on 19-Jun-2020 12:54:58

14K+ Views

The systems that are used to organize and maintain data files are known as file based data systems. These file systems are used to handle a single or multiple files and are not very efficient. FunctionalitiesThe functionalities of a File-based Data Management System are as follows −A file based system helps ... Read More

Previous 1 ... 5 6 7 8 9 ... 11 Next
Advertisements