Go Back   CodingForums.com > :: Client side development > JavaScript programming > JavaScript frameworks

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 06-22-2012, 11:18 PM   PM User | #1
soheil
New to the CF scene

 
Join Date: Jun 2012
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
soheil is an unknown quantity at this point
html table tags and jquery

hello my friends

i have one table which is made by html tags :
<table width=100% border=1 style="display:none" id="headerTbl">
<colgroup width=200 />
<tr>
<th width="10%">X </th>
<th width="10%">Y </th>
<th> ..........."here is my question" ???????? </th>
</tr>

I want to get the name of third column from some items that I select from first col and second col...
first col and second col will be filled with some data which are stored in database then, name of third col should be pair of selected items from first and second column.in this way " item from 1st col - item from 2nd col"
I think that with jquery and with onclick function can do that but I don't know how?
how can I do this ?

any help will be appreciated
thanks in advance
soheil is offline   Reply With Quote
Old 06-23-2012, 12:36 AM   PM User | #2
firepages
Super Moderator


 
Join Date: May 2002
Location: Perth Australia
Posts: 3,901
Thanks: 5
Thanked 79 Times in 78 Posts
firepages will become famous soon enough
this is not really a PHP question (though PHP may be involved in getting the data via AJAX) but the main issue is how to grab X and Y and then use AJAX to get the answer and fill in the field.

Since you main issue is Javascript related I am moving this post there.
__________________
resistance is...

MVC is the current buzz in web application architectures. It comes from event-driven desktop application design and doesn't fit into web application design very well. But luckily nobody really knows what MVC means, so we can call our presentation layer separation mechanism MVC and move on. (Rasmus Lerdorf)
firepages is offline   Reply With Quote
Old 06-23-2012, 12:52 AM   PM User | #3
VIPStephan
The fat guy next door


 
VIPStephan's Avatar
 
Join Date: Jan 2006
Location: Halle (Saale), Germany
Posts: 7,613
Thanks: 5
Thanked 865 Times in 842 Posts
VIPStephan is a jewel in the roughVIPStephan is a jewel in the roughVIPStephan is a jewel in the rough
And since it was asked specifically about jQuery and it is a JavaScript framework, I’m moving this thread to the frameworks section.
__________________
Don’t click this link!
VIPStephan is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 09:09 PM.


Advertisement
Log in to turn off these ads.