Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by cylly

  1. cylly

    Hello, I want to format date to

    var datetest = Date.parse(datetext); nDate = new Date(datetest); DateYear = nDate.getFullYear(); DateMonth = nDate.getMonth(); DateMonth = DateMonth + 1; DateDay = nDate.getDate(); DateCompare = DateYear + "-" + DateMonth + "-" + DateDay i would like datemonth and dateday...
  2. cylly

    Hello, I want to format date to

    i am trying to format a date as well but in the following format... yyyy-mm-dd. I would like the month and day to have a leading zero if less than 10. I tried the given solution but it doesn't work for me. Can anyone help out with a different solution? Thanks.
  3. cylly

    get number of columns in table

    How do I increase the variable each time I write a 'td'? BTW - Thanks onpnt. Your suggestion worked wonderfully. I get the number of cells. I can also get the number of rows and then caluclate the number of columns. I am not sure yet if I will use onpnt's suggestion or 2ni's suggestion...
  4. cylly

    get number of columns in table

    No such luck. I am getting [object] for output. Any other options?
  5. cylly

    get number of columns in table

    How do I retrieve the number of columns in a table? The table is loaded dynamicaly so the number of columns will vary depending on what was selected on a previous page.
  6. cylly

    determine number of columns in table data

    How can I find out the number of columns in my table? The information is loaded dynamically. The number of columns will vary depending on what information was selected from a previous page. Any help would be greatly appreciated.
  7. cylly

    increment counter

    Can you please give me an example? I still don't quite follow what you are saying.
  8. cylly

    increment counter

    I am trying to increment a counter by one everytime my interator loops through table data. <TABLE border=1> <TR onclick=&quot;highlightTR '#c9cc99','cc3333',this);&quot;> <pr:fieldIterator> <TD><pr:field /></TD>...
  9. cylly

    retrieve hidden value from dynamically loaded table

    I tried that already. It didn't work.
  10. cylly

    retrieve hidden value from dynamically loaded table

    That worked for the request.getParameter values. How can I get the value for key1Value?
  11. cylly

    retrieve hidden value from dynamically loaded table

    That worked! I didn't know you could do that. Thanks for your help. I am still very new at javascript but I am plugging away at it.
  12. cylly

    retrieve hidden value from dynamically loaded table

    In script I am trying to do this, name = info.children[?].children['tName'].value . How can I determine what ? is supposed to be? It will be a different number depending on the table row selected from a previous screen. My table looks like this. <TABLE id=&quot;mytable&quot; border=1>...
  13. cylly

    increment table row id by 1

    I would like to increment the table row id by 1 each time I loop through my iterator to create my table. How do I do this? Here is my table. <TABLE border=1> <TR> <b> <TH>Table Name</TH> <TH>Description</TH> </b> </TR> <p font-size=10>...
  14. cylly

    increment table row id by 1

    I would like to increment the table row id by 1 each time I loop through my iterator to create my table. How do I do this? Here is my table. <TABLE border=1> <TR> <b> <TH>Table Name</TH> <TH>Description</TH> </b> </TR> <p font-size=10>...
  15. cylly

    reference value from a table row

    Does anybody have an answer for me?

Part and Inventory Search

Back
Top