try using jquery

Post any questions you have about using the Verj.io Studio, including client and server-side programming with Javascript or FPL, and integration with databases, web services etc.

Moderators: Jon, Steve, Ian, Dave

t4nu
Ebase User
Posts: 305
Joined: Thu Jul 02, 2015 8:32 am
Location: Indonesia

try using jquery

#1

Postby t4nu » Wed Jun 01, 2016 7:46 am

Hi,
I am trying to do a simple thing using client side script.
I want to show the hidden title panel, when I click the button.

I add title panel and give an ID to it and make the hidden properties to true.
I add button and put this in the onclick event within the html element of the button.

Code: Select all

$("#thePanel").show();
but nothing happen.

What wrong with my script?

Note:
I add to the form:
jquery-1.12.4.min.js

Thanks in advance for the help.
0 x

Jon
Moderator
Moderator
Posts: 1342
Joined: Wed Sep 12, 2007 12:49 pm

#2

Postby Jon » Wed Jun 01, 2016 8:26 am

You're invoking a jQuery show() function and that should make a panel visible when it's hidden using CSS display:none.

The control hidden property is a server-side property that stops the HTML for the control from being sent to the browser - it can only be set/unset using a server-side script.
0 x

t4nu
Ebase User
Posts: 305
Joined: Thu Jul 02, 2015 8:32 am
Location: Indonesia

#3

Postby t4nu » Thu Jun 02, 2016 3:04 am

Aah IC.
Thank you very much for the clarification.
Jon wrote:You're invoking a jQuery show() function and that should make a panel visible when it's hidden using CSS display:none.

The control hidden property is a server-side property that stops the HTML for the control from being sent to the browser - it can only be set/unset using a server-side script.
0 x


Who is online

Users browsing this forum: No registered users and 28 guests