$$Javascript coder wanted$$ Updating tablerows, calling php files, updating id fields

Discussion in 'JavaScript' started by Xexi, Nov 7, 2007.

  1. #1
    Before I go on.. Yes, compensation will be rewarded for your time.

    I'm looking for two javascripts to run in php

    The first, I need to delete a tablerow in a table with a javascript link, here is an example:

    <table width='100%' id='table1'>
    <tr id='name1'>
    <td>
    <a href='javascript:deleteRow(this);'>Delete</a>
    <td>
    </tr>
    <tr id='name2'>
    <td>
    <a href='javascript:deleteRow(this);'>Delete</a>
    <td>
    </tr>
    </table>

    To clarify, I need not only the <td> gone, but I need the <tr> gone as well.


    The second, I need to call a php file with a timed event.

    For example:
    Every 60 seconds the page is inactive:
    The javascript runs and calls the php file.
    The php file then returns how many new rows have been added
    The javascript then updates a link with the amount of new rows.

    example of link: <a id='chat' href='chat.php'>Messages (0)</a>


    If anyone can help please post in this thread or PM me with a price.

    Thanks!
     
    Xexi, Nov 7, 2007 IP