User Profile

Collapse

Profile Sidebar

Collapse
huzheng
huzheng
Last Activity: Nov 22 '10, 04:33 PM
Joined: Nov 22 '10
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Yeah,that will erases,and I thought it'll be apple displayed.But I just see undefined,that' s puzzling me.
    See more | Go to post

    Leave a comment:


  • huzheng
    started a topic How to get the element in my table's cell?

    How to get the element in my table's cell?

    Code:
    <html>
    <head>
    <script language="javascript" >
    function smanPromptList(objInputId){//I cut my file //short to find where is wrong.
          	var objInputCel = document.getElementById(objInputId).rows[0].cells[1];
            var objInput = objInputCel.childNodes[0]; 
            document.write(objInputCel.innerText);//I tried //this wondering if it will display"apple",but it didn't.
    ...
    See more | Go to post
    Last edited by Dormilich; Nov 22 '10, 01:57 PM. Reason: please use [CODE] [/CODE] tags when posting code
No activity results to display
Show More
Working...