Jump to content

How To: Show Table TITLE Values; and Hide/Show DETAIL Value


EmperorJazzy

Recommended Posts

:wtf:

So I'm writing code to read from the DB Table both the TITLE and the DETAIL of the records. (This will be refined to selective SQL, but currently in TEST).

 

I'm returning both fields and displaying them currently;

 

TITLE VALUE - DETAIL VALUE

 

(TITLE Field = 255 Char)

(DETAIL Field = No Limit; Full Text)

 

I'd like to display a TABLE of TITLE VALUES, and when clicked, it shows the DETAIL VALUE. It's the classic Hide/Show dynamic.

 

Essentially; I could accomplish this by refreshing the page each time however, usability = YUK.

 

Does someone have an example or LINK I could follow to learn more.

Link to comment
Share on other sites

<< This is a JavaScript issue, moving to the appropriate forum >>

 

JQuery is simply a JavaScript framework of sorts that has a lot of built-in functionality that you can use without having to write from scratch. It does not need any support from your host as it is all run client-side. But, on the client-side you have to include the JQuery framework to be loaded into the browser. E.g.

<script type="text/javascript" src="jquery.src"></script>

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.