언어 설정

Menu
Sites
Language
Change Page

when i change page from 1 to 2 by using  window.open("Login.html"); then functionalities works but consloe.log not displayd on debug , where as if i use tau.changePage("Login.html"); then functionalities  not working but console.log print and it shows ReferenceError: Can't find variable: Submit 

 

Responses

9 댓글
Marco Buettner

What did you want to do before, during and after the change between the pages? You should share your code to understand what did you want.

AVSukhov

Hello,

where you define variable Submit?

appdaily

submit is in 2nd page script

appdaily

what i am doing is

page 1

onclick 2nd page is opening

 

on 2nd page button click i am doing reading contact

appdaily

page 1

<script>
    function one() {

        window.open("two.html");

        /* tau.changePage("Login.html"); */
    }
 
</script>


<body>

<button onclick="one();">one</button>


</body>

///////////////

page 2

<script>
    function threee() {

      some contact reading stuff
    }
 
</script>


<body>

<button onclick="threee();">three</button>


</body>

Marco Buettner

Aha... But I dont understand what is your problem? And in Tizen window.open is not a good option, because it starts a new session and the Tizen Advanced UI works with ajax internal, so you should use $.mobile.changePage or tau.changePage.

And now write what did you want CLEARLY. I think I'm not alone who dont understand what did you want to do

appdaily

for your info i am not using Tizen Advanced Ui i am using basic

Alex Dem

Hi,
tau is Tizen Advanced UI.  If you try to use tau method in your project you should have appropriate js/css files in your project folder ./lib/tau/.. etc
Alexey.

AVSukhov

Hello,

Could you please provide code where you define Submit variable (you code from threee method). May be you try to use variable before you have defined it.