The idea behind jQuery template is to render hidden HTML island on the client and then use that as a template for client side manupulations and render ...
Search results for javascript
What are jQuery templates?
Posted by CMaster
Answer:
This is one of the most popular JQuery interview questions, as it tests understanding of multiple areas such as JQuery JS objects, JQuery syn ...
Answer:
The simplest way is to add prototype to string object and use regular expression inside prototype function as following:
String.prototype.g ...
There are couple options and interviewer looking on multiple things in your answer.
Sample Answer:
JQuery provides string trimming function and if ...
Answer
Favlets are the snippets of Javascript inside a Bookmark URL. The simplest example would be javascript:alert('hello'). Copy this code into Bro ...
What is XSS and how to prevent it?
Posted by CodeGuru
Answer
Cross-site scripting (XSS) is a type of computer security vulnerability typically found in web applications which enable malicious attackers ...
Answer
With visibility is set to 'hidden', the element being hidden still occupies its same place in the layout of the page, while with display set ...
A closure is a case when a function creates an environment that binds local variables in such a way that they are kept alive after the function has re ...
