Jump to content

muthulakshmi

Members
  • Posts

    2
  • Joined

  • Last visited

Posts posted by muthulakshmi

  1. Use <div id=myId> inside the cell.Now get div element in javascript using getElementById("myId").use .innerHTML = "<input><img >"If this is not a hint to the solution, I think you should be more clear on the problem.

    hi,Thanks.My code looks like.., var dateimg = document.createElement('input'); dateimg.setAttribute("type", "image"); dateimg.setAttribute("align", "absmiddle"); dateimg.setAttribute("name", "dateimg"); dateimg.setAttribute("id", "dateimg"); dateimg.setAttribute("src", "dynCalendar.gif"); cellRightIndex.appendChild(dateimg);Now i have a Calendar image in a cell. i want to add a textbox and when a date is selected , the textbox should show the date.ThanksMuthu
  2. hi,How to add an image and a textbox in a same cell using javascript?i have a situation where i have to include a calendar image in a cell along with a textbox.note : when a date in the calendar is selected th date should appear in the textbox.Please helpThanksMuthulakshmi

×
×
  • Create New...