Prototype hide/show
Posted
by Kyle Sevenoaks
on Stack Overflow
See other posts from Stack Overflow
or by Kyle Sevenoaks
Published on 2010-04-30T10:44:25Z
Indexed on
2010/04/30
10:47 UTC
Read the original article
Hit count: 392
Hi, I am a Javascript/jQuery/Prototype newcomer and I have a page that has a Prototype function to get info from a database and put it into some input fields. This was made before I came to work on this site and now I've been asked to add a hide/show div function.
I tried it in jQuery and there were clashes with the two frameworks, (as found in my previous question).
My question now is, how would I go about building a show/hide function in Prototype? I think it will be easier to do it this way than to re-build the info grabber.
The page I want to add this to is here. (the green "ny kunde" button should show the div directly below it newCustomer
.
Thanks. :)
© Stack Overflow or respective owner