cancel
Showing results for 
Search instead for 
Did you mean: 

XHTMLB tabstrip help

Former Member
0 Kudos

Hi all,

I replaced htmlb tabstrips in my code by xhtmlb tabstrips.But after this,the javascipt in my code has stopped working and the pages are showing javascript error .Why is this happening? Is it because of using xhtmlb ?Please help.

Regards,

Ananya

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

*******the button is in layout of a page fragment

<htmlb:button id = "b_disp"

text = "Display Ticket"

onClientClick = "gotoDisplay()" />

*************javacsript code in main page

<script>

function gotoDisplay()

{

if ( w_flagDisp == 1 || w_dateInitial != document.getElementById('i_date').value )

{

var childwindow = window.open("warning1.htm","name","height=150,width=500,left=200,top=300,resizable=no,titlebar=no, toolbar=no,menubar=no,status=no");

if (window.focus) {childwindow.focus();}

return childwindow;

}

htmlbSL(this,2,'b_disp:onInputProcessing()');

}

</script>

When I am clicking on any xhtmlb tabstrip,the javaScript error is coming.

Message was edited by: Ananya Mukherjee

Former Member
0 Kudos

Hi,

The error is "Object Not Found'.There is a javaScript function which I am calling on onClientClick of a button.

The javaScript is in no way related to the tabStrips.Any suggestions please.

Regards

Ananya

athavanraja
Active Contributor
0 Kudos

post the code for the htmlb:button declaration in layout and the javascript code and the place where you had written the js code in the layout.

Regards

Raja

former_member191062
Active Contributor
0 Kudos

Hello,

do you also get this error on pages, where there is know custom JS code? Or does the error only occure if your code exist?

Regards,

Dezso

athavanraja
Active Contributor
0 Kudos

what javascript error you are getting. (is it the error out of standard js or your custom js) can you post the layout code here.

Regards

Raja