0
I have created 3 tabs in my home.jsp. 

what I want is on clicking the tab it loads another jsp(it have script also). i have used

   title: 'Home'  
            autoLoad: {
                url: 'UserProfile', 
                script:true
            }
        }

this code. But it lods only simple text. the script part is not loaded. how can I load script properly?

1
  • @IJP I have already doing the same thing but only jsp plain content is added. script part is not loaded.
    – Ashish
    Oct 18, 2013 at 11:26

2 Answers 2

0

try this

tabObj.update(responseText)

responseText: call a ajax call to "UserProfile"
0
0
 title: 'Home'  
            autoLoad: {
                url: 'UserProfile.jsp', 
                scripts:true
            }
        }

Its "scripts" and not as "script"

2
  • Still Only simple text I am getting not script.
    – Ashish
    Oct 18, 2013 at 11:49
  • after changing "script" to "scripts" I am getting the same old data means script part I am not getting.
    – Ashish
    Oct 18, 2013 at 11:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.