This topic is locked

Adding a value to the javascript rollover link

2/1/2010 3:55:01 AM
PHPRunner General questions
P
Philberforce author

Hi all
I'm having a bit of a noob day. I cant seem to pass a variable to the html in runner 5.1.
In runner i modify the line below to add a javascript onclick command.
{BEGIN grid_row}<TR onclick="RowNav('extra/gopage.php?t={$Section_value}');" vAlign=top {$rowattrs} {$rowstyle}>{BEGIN grid_record}
The $Section_value is added by using the insert field button.
However when rendered into html the value is Null even though it is included in the next line on the table and appears correctly.
<TR onclick="RowNav('extra/gopage.php?t=');" vAlign=top class='shade' onmouseover="this.className = 'rowselected';" onmouseout="this.className = 'shade';" rowid="0">
This is probably a big bowl of wrong on my part so be gentle.

J
Jane 2/2/2010

Hi,
I suppose field value is not filled in thsi code.

Please publish your project on Demo Account and open a ticket at http://support.xlinesoft.com sending a URL to your pages along with instructions on reproducing this error.