Scroll to top

Blog

I would like to discuss on whatever your requirement will be. Also I feel pleasure to be a part on that. So let’s just the conversation and finish this in efficient way.

How to get full detail of any mobile number in cordova?

Get full detail of any mobile number in cordova. document.addEventListener(“deviceready”, hello, false); function hello(){ navigator.contacts.pickContact(function(contact){  console.log(‘The following contact has been selected:’ + JSON.stringify(contact));   document.getElementById(“number”).innerHTML = ‘The following contact has

Read More »

How to get Selected Option Text of HTML SELECT using jQuery?

Get Selected Option Text of HTML SELECT using jQuery <select id=”mySelect”>     <option value=”1″>hello</option>     <option value=”2″>bro</option> </select> <input type=”button” id=”test“ value = “test“ /> <script type=”text/javascript”>     $(“#test”).live(“click”, function () {                  var selectedText = $(“#mySelect option:selected”).html();         alert(selectedText);     }); </script>

Read More »