How can submit the form in BaseLayer? |
Post Reply | Page <12 |
Author | |
Dmit OE
Admin Group Joined: May 31 2012 Status: Offline Points: 5283 |
Post Options
Thanks(1)
|
Maybe, but first, try to use only the last line (jquery.mobile-1.4.5.min.js) and NOT the one with jquery-1.11.3.min.jswhich conflicts with OE-integrated jQuery.
|
|
djju1029
Senior Member Joined: Aug 02 2016 Location: the US Status: Offline Points: 126 |
Post Options
Thanks(0)
|
Yes, I have tried it.
When I used only the last line (jquery.mobile-1.4.5.min.js) and NOT the one with jquery-1.11.3.min.js which conflicts with OE-integrated jQuery, the value of slider was not copied to text box form.
|
|
Dmit OE
Admin Group Joined: May 31 2012 Status: Offline Points: 5283 |
Post Options
Thanks(1)
|
That complicates things. I will have to look into it, when I find some time. Meanwhile, check whether you can achieve desired result without using jQuery mobile, which is not just some jQuery addon but an entirely different library and can indeed conflict a lot.
|
|
djju1029
Senior Member Joined: Aug 02 2016 Location: the US Status: Offline Points: 126 |
Post Options
Thanks(0)
|
Thanks Dmit OE,
Your guess would be correct, jquery.mobile might conflict against default jquery in OE. Therefore, I resolve this issue using jquery ui instead of jquery mobile as following, //in Header of BaseLayer <link href="https://code.jquery.com/ui/1.10.4/themes/ui-lightness/jquery-ui.css" rel="stylesheet"> <script src="https://code.jquery.com/ui/1.10.4/jquery-ui.js"></script> <script> $( function() { $( "#Rslider" ).slider({ range:"max", min:0, max:100, step:0.5, value:50, slide: function( event, ui ) { $( ".Rrange input" ).val( ui.value ); } }); $( ".Rrange input" ).val( $( "#Rslider" ).slider( "value" ) ); } ); </script> //in Body of SubLayer Text Input Field form with Custom Classes="Rrange" Now, I need to connect this value to Database to get, update.....a lot of job.... Thanks, |
|
Post Reply | Page <12 |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |