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.

<< 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>

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.