Tizen Web App – Events are not getting fired

Tizen Web App – Events are not getting fired

BY 31 Jul 2013 Web Application Development

Hi 

I have created project using the Tizen Web UI Framework Applicaiton (Navigation Template).

Now when i redirect between nav1(Onclick displays the page1.html) to nav2(Onclick displays the page2.html)the events are not firing in page2.html when i transition from page1.html.

Events like onload(), document ready  and click events of button is also not firing. 

Please can anyone help me in this regard.

Warm Regards

Mohammed Irfan 

 

Index.html

    <div data-role=”footer” data-id=”foo1″>

            <div data-role=”controlgroup” data-type=”horizontal”>
                             
                <a data-role=”button” href=”index.html”>
                   <img src=”images/age.png” width=”36px” height=”36px”/>
                </a>
                <a data-role=”button” href=”cardilogy.html”>
                    <img src=”images/cardiology.png” width=”36px” height=”36px”/>
                </a>
                               
            </div><!– /navbar –>
    </div><!– /footer –>   
 
 
Home.html
 
    <script type=”text/javascript”>    
  function test()
  {
alert(222);
  }    
    </script>
 
    <div data-role=”content”>
            <ul data-role=”listview”>
                <li><a data-role=”button” href=”#ldl” onclick=”test();” >LDL Calculated</a></li> # Not working – onlick is not working nor the href
                <li><a class=”ui-li-text-main” href=”#map”>Mean Arterial Pressure (MAP)</a></li>
                <li><a class=”ui-li-text-main” href=”#timiriskindex”>TIMI Risk Index</a></li>                
            </ul>
    </div><!– /content –>
 
Once i redirect from index.html to home.html, neither the href link works nor the onclick works in home.html page.
 

 

Written by