How to Redirect Using JSP Code
JSP, which stands for "Java Server Pages," are Web pages that utilize the popular Web programming language known as Java. JSP utilizes traditional HTML with some command enhancements. One of the...
View ArticleHow to Animate a DIV From Display None to Block in jQuery
Cascading Style Sheets help site developers show, hide and animate objects on a website. If your page has a hidden DIV element, you can use JavaScript to make that DIV appear gradually by changing its...
View ArticleHow to Encode an Apostrophe in a URL
As useful as special characters are in the English language, you’d think that you could type all of them in your browser’s URL bar. Only a small subset of US-ASCII characters are safe to use in URLs....
View ArticleHow to Zoom an Image Within a DIV
You may have seen images on Web pages that zoomed when you clicked them. Presenting a smaller version of an image inside a DIV element helps preserve valuable Web page space. Site visitors can then...
View ArticleHow to Open a File in Javascript
JavaScript allows you to open a file, so the user can choose to save the file from the browser, or just read the file and close it. Typically, this type of programming is used to open a file when a...
View ArticleHow to Use Eclipse for Javascript
The free, open source Eclipse software development environment provides Web development tools natively. This includes support for the JavaScript scripting language. JavaScript is a client side...
View ArticleHow to Close a DIV in JavaScript
When Web browsers load HTML pages, they generate a representation of the page in an inverted tree structure that can be manipulated dynamically using JavaScript. Page user interface manipulation is...
View ArticleHow to Create a Table Into a Div in Javascript
One of the easiest ways to take advantage of the HTML document object model (elements and containers) is by using JavaScript. JavaScript is a client-side language that has a variety of functions that...
View ArticleHow to Make a Hidden Menu With JavaScript
The JavaScript language allows you to show and hide menu items dynamically when a user performs an action such as clicking a button. The JavaScript "style" property gives you the ability to hide a...
View ArticleJavaScript Code for a Submit Button
You use a Web form to collect information from visitors to your website, such as those registering to a mailing list or sending a message to an email address. To pass this information through to a Web...
View ArticleHow to Move a CSS Image
Developers make images on Web page move by modifying the Cascading Style Sheet properties of their images. These CSS properties allow you to specify an image's location in relation to the top left...
View ArticleHow to Install the jQuery DatePicker in HTML
Jquery is a JavaScript library that makes it easier to write scripts that add interactivity and animation to Web pages. Developed by the same people who create jQuery, jQuery UI or User Interface is an...
View ArticleHow to Do InnerText in JQuery
In JavaScript, the "inner" text of an HTML element refers to the text between any set of HTML tags. The jQuery equivalent uses the "text()" function to do the same thing. Use the "text()" function to...
View ArticleHow to Move the Position of the Drop Down List in HTML
You have the ability to make elements appear anywhere you like on your Web page. The CSS "position" attribute makes this possible. By assigning a value of "absolute" to a drop down box, for instance,...
View ArticleHow to Disable Clickable Links on a Website
HTML links -- also called anchor tags -- help make the Internet possible; users click a link, and a new Web page appears. Every anchor tag has an attribute called "href." This attribute points to a URL...
View ArticleHow to Disable an Image With jQuery
Images on the Web are fair game for anyone who wants to copy them. Browsers communicate directly with Web servers, and images displayed on a Web page are actually stored in the browser's cache. Some...
View ArticleHow to Get the Value of a Drop-Down List in HTML
Web applications often need to know the value of an element that a user selects. If that element is a text box or another basic control, the app can simply examine the control's "Text" property to get...
View ArticleHow to Get TD Class Value in Jquery
Like in JavaScript, you can get values from tags using jQuery. JQuery is a JavaScript library that adds functions and shortcuts to make scripting faster and easier. Using jQuery, you can get the class...
View ArticleHow to Find the Children of an Element in jQuery
HTML elements include any part of a Web page, such as headings, tables, images and paragraphs. When you nest HTML tags inside of each other, you create parent and children elements. The top element is...
View ArticleHow to Make a jQuery Fade to More Smooth
JQuery is a JavaScript library that simplifies the scripting of certain JavaScript functions. You can refer to functions in jQuery when writing your script to save yourself from manually writing out...
View Article