Skip to Content
0
Former Member
Apr 24, 2007 at 03:21 PM

Concatenate Attribute page's string into javascript function.

38 Views

Hello,

In iterator for tableview i have this code :

        Concatenate 'Cell_Select(''' ls_clef ''', ''' GS_CELL_CLICK  ''')' into ls_client_event.

        l_bee_cb = CL_HTMLB_CHECKBOX=>FACTORY(
                           id                  = p_cell_id
                           key                = p_cell_id
                           checked         = ls_check
                           disabled         = 'FALSE'
                           onClientClick  = ls_client_event ).
 

Where GS_CELL_CLICK is an attribute of the html/bsp page

I want memorise the differentes cell clicked in the function :

<script language="javascript">
function Cell_Select(id_cell,"<%= GS_CELL_CLICK %>")
{
GS_CELL_CLICK = GS_CELL_CLICK +"/"+ id_cell 
alert(  GS_CELL_CLICK  );

}
</script>
 

This isn't work, GS_CELL_CLIK is always empty .

Thanks for your help.

Thierry Chiret