hide show button and textual area via Javascript or jQuery
773281Apr 26 2011 — edited Apr 27 2011Hi folks am Apex newbie using 4.0.1 on Vista laptop running OracleXE (for dev purposes)
A quick desc of what items are on the page of my Helpdesk appkication and what I want to achieve ..
I have a Progress region defined on the page - with textual areas and some region buttons.
Details are have 2 textual areas in my region - 1st textual area shows current progress (this is read only).
Second textual region is where IT person will type latest progress on Helpdesk prob (ticket).
There is a region button Save Progress Text which when pressed will append text from textual area 2 into textual area 1 and
also appends text e.g date / time / userid etc of progress text added.
This all works fine.
Have added a new region button - call it Enter Progress Text - which I would like when pressed will make textual area 2 and the Save Progress Text buttons visible.
I can hide and show the textual area 2 via $X_show / hide but cannot for life of me hide the Save Progress Text button.
I also tried to make a subregion holding textual area 2 and the Svae Progress Text button but again via Javascript / jQuery could not hide the subregion.
Can someone please tell me the syntax of how to hide via Javascript / jquery as can't find anything much at all in the Apex online documentation.
Many, many thanks as always.
P.S Don't want to use dynamic actions or hide / show region as want there to be buttons on screen to make things explicit for user hence my desire to use Javascript.
Wiggywig