Solved

please explain the functionality of show hide replace replaceamp in jquery

Posted on 2013-01-29
3
227 Views
Last Modified: 2013-02-11
please explain the functionality of show hide replace replaceamp append in jquery

i am new to jquery
0
Comment
3 Comments
 
LVL 39

Expert Comment

by:Aaron Tomosky
ID: 38833949
Show and hide are frequently used to fake pagination in divs. so hide page one and show page two.
0
 
LVL 10

Expert Comment

by:deviprasadg
ID: 38833950
0
 
LVL 12

Accepted Solution

by:
sivagnanam chandrakanth earned 500 total points
ID: 38833955
Show and hide is for showing or hiding a html element, see example here http://www.w3schools.com/jquery/jquery_hide_show.asp

Replace have many methods,
replacewith
allows you to replace a element, see example here http://api.jquery.com/replaceWith/

There is also
replacetext
option http://benalman.com/code/projects/jquery-replacetext/examples/replacetext/

Append
will add additional element or content to existing element, example http://www.w3schools.com/jquery/html_append.asp
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

OverviewThis article demonstrates a simple search form using AJAX. The purpose of the article is to demonstrate how to use the same code to render a page and javascript (JQuery) and AJAX to make subsequent calls to refine the results. The princip…
Introduction JSON is an acronym for JavaScript Object Notation.  It is a text-string data transport mechanism, capable of representing simple or complex data structures in a consistent and easy-to-read manner.  Similar in concept to XML, but more e…
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question