Solved

please explain the functionality of show hide replace replaceamp in jquery

Posted on 2013-01-29
3
225 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
Question by:stmani2005
3 Comments
 
LVL 38

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

What is a Lightbox? A Lightbox is the effect you see when you click, for example, an image and the screen fades out and up pops the same image but in its full size dimensions. There are lots of Lightbox effects for jQuery. Problem is they are a…
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…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. 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.: (CODE)
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…

912 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now