Welcome Guest, Not a member yet? Register   Sign In
Running javascript on mobiles devices

Hello, i´m new on Codeigniter and i have a little problem with him when testing on mobile device. For example:

<select id="sampleSelect">
           <option value="1">1</option>
           <option value="2">2</option>
           <option value="3">3</option>
<div id="sampleDiv">

    // This takes out the jQuery variable '$' from the global scope
        $( "#sampleSelect option:selected" ).each(function() {
            $('#sampleDiv').text($( this ).val());

Only not working when i test on mobile device. On descktop works, i not understand why!. I tried use jQuery mobile, but it does not work.
Sorry for my level english, and thaks for help.

Theme © iAndrew 2016 - Forum software by © MyBB