Hello:
I'm trying to add data to TD tag using JavaScript. I have a drop down list in which a user makes a selection
that selection should then go the a specific <td> tag. Here is a snippet of my code.
list = document.navigationForm.optionList3;
clientid = list.options[list.selectedIndex].value;
//var element = document.getElementById("mytitle");
//var parent= element.parentNode;
var store = "8513260005";
var node = ">>"+ store + ">>" + clientId;
$( node ).appendTo( "#mytitle td" );
Here is my HTML structure snippet
<table cellpadding="0" border="0" align="" name="headingGrid">
<tbody>
<tr name="breadCrumbRow">
<td name="gridCell1"> </td>
<td class="mytitle" name="gridCell3">
<table align="" name="grid1">
<tbody>
<tr name="gridRow1">
<td class="mybtitle" name="breadCrumbCell" id="mybtitle">
<nobr>Corporation <!--Here is where it needs to go-->
</td>
Thanking You In Advance
PH
--
You received this message because you are subscribed to the Google Groups "JavaScript Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to javascript-information+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.