cancel
Showing results for 
Search instead for 
Did you mean: 

Concatenate Attribute page's string into javascript function.

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

raja_thangamani
Active Contributor
0 Kudos

Are you passing the GS_CELL_CLICK to the iterator class? From where you are populating the GS_CELL_CLICK?

Raja T

Answers (1)

Answers (1)

Former Member
0 Kudos

I find a reponse from an another thread.

The solution is to pass by a hidden button.

Thanks