Explain the use of data-role=”page” attribute? : jQuery Mobile



Explain the use of data-role=”page” attribute? : jQuery Mobile..

Answer / Shashank Rana

The data-role="page" attribute is used in jQuery Mobile to define a page. It creates the basic structure and styles for a mobile webpage, including header, footer, and content sections.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More jQuery Interview Questions

And finally, if you could give one tip to any new budding jquery ui developers, what would it be?

1 Answers  


What is the difference between event.PreventDefault and event.stopPropagation?

1 Answers  


With jquery which operating system is more compatible?

1 Answers  


Define type paremeter of jquery ajax method?

1 Answers  


How can we give face effect in jquery?

1 Answers  


What is each() function in jQuery? How do you use it?

1 Answers  


Tell me which command will give a version of jquery?

1 Answers  


What is the difference between onclick and onsubmit?

1 Answers  


Why there are two different version of jQuery library?

1 Answers  


How does the jQuery pushStack function work?

1 Answers  


explain width() vs css(‘width’) in jquery

1 Answers  


What is the use of jquery .each() function?

1 Answers  


Categories