Tag Archives: Case Code

Link Direct to Table Cell

Hi I’m new to the particular forums so I hope this is posted while in the right place. I am designing a web site for the client and I’d like to change the content of any table cell 2 text link is clicked while in the same cell. Is that this possible Any help is very much appreciated!! Its very much possible. In order to clarify, there shall be a table personal (a td) which has a link. Whenever this link is definitely pressed, that whole cell’s text value results in being something else And also the link will become gone also In that case, Code: < html> < head> < title> < /title> < script type=" text/javascript" > purpose ChangeCell(cellId) document. getElementById(cellId). innerHTML = " new text"; < /script> < /head> < body> < table> < tr> < td id=" area1" > this can be a text before your change occurs. < a href=" #" onClick=" ChangeCell(‘area1′); " > change< /a> < /td> < /tr> < /table> < /body> < /html> Thanks a lot for replying so quickly bfsog!!! The code successful but I’d like it to modify the cell text to a genuine page that is already designed. … Continue reading

Posted in Web Design | Tagged , , , , , , , , , , , | Leave a comment