Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

please explain the functionality of show hide replace replaceamp in jquery

Posted on 2013-01-29
3
Medium Priority
?
234 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 12

Accepted Solution

by:
sivagnanam chandrakanth earned 2000 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
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…
Suggested Courses

783 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