Hi all, I'm writing a scavenger hunt app and want to use the Proximity Alert functions. I'm having a hard time to finding any decent tutorials to help me with this. Does anyone have a code snippet on it's use that I can go off of? Much appreciated, Hendo

Member Avatar
Member Avatar
+0 forum 6

Hi I want to greet user when they type their name in the textbox. e.g WHEN THEY TYPED IN THEIR NAME A LITTLE POP UP, OR A LINE APPEARED IN AREA THAT SAID “Hi XXXXX, nice to meet you!” Here is the sample code. <div class="form-group"> <label class="col-xs-3 control-label">What is your full legal name?</label> <div class="col-xs-5"> <input type="text" class="form-control" name="name" /> </div> </div>

Member Avatar
Member Avatar
+0 forum 4

Hi All, I have a ajax call in script like below - function testMe() { $.ajax({ type: "POST", url: "http://3.84.46.104/tloken/test/testAjax.php", // data: "ajax=1&elem=" + elem+"&clicker="+clicker, data: "ajax=1", method: "POST", success: function (html) { alert(html+' >>'); return false; // var response = html.split('@'); // document.getElementById(elem).innerHTML = ""; document.getElementById('cmbxCategory').innerHTML = ""; document.getElementById('cmbxType').innerHTML = ""; document.getElementById('cmbxProvider').innerHTML = ""; //alert(response[0]+' >>'+response[1]+'>>'+response[2]); // $('#'+elem).prepend(html.responseText); $('#cmbxCategory').prepend(response[0]); $('#cmbxType').prepend(response[1]); $('#cmbxProvider').prepend(response[2]); // return false; }, error: function(request, error){ console.log(arguments); alert('>>'+arguments); // return false; } }); return false; } this testMe() is called on click of a button - <button class="btn" id="1u" onClick="testMe(this.id, 1, 'cmbxCategory');">U</button> And my testAjax.php page contains …

Member Avatar
Member Avatar
+0 forum 2

Evening all, I'm trying to create a javascript loop to output a range of radio buttons numbered 1 to 10. This is part of a form, which will display the input on the next page. So I have two problems. For testing only, I'd like to alert the value of the checked button. I'd then like to implement this so that it works in the usual way. Here's what I have so far: <li class="label"> With 0 being the lowest and 9 being the highest, how would you rate the redesign the site? </li> <li class="data"> <script type="text/javascript"> for(i = …

Member Avatar
Member Avatar
+0 forum 5

i have an alert box which i want to show some icelandic text but its not showing it <script> function check() { alert("Þú verður að vera skráð/ur inn til þess að senda skilaboð"); } </script> it is showing the alert box but the text is messed up :( **Þú verður að vera skráð/ur inn til þess að senda skilaboð** any help please :(

Member Avatar
Member Avatar
+0 forum 3

I am running into an error on a javascript problem I have it display if the math problem is wrong, and an alert box that pops up, but when you hit OKAY on the alert box it still submits the form. I am wondering if there is an easy fix to this or not. I will post my code in a min here. I would really appreciate some help on this if you have the time. I have researched this for a while and rewrote my code many times but still not working. The part of the code i am …

Member Avatar
+0 forum 0

hi, my $.post code returns a whole page i want to get only content inside a id from that . this is my code it alerts null. what's wrong with it..? [CODE] $(document).ready(function(){ var url_select_file = "index.php"; $.post(url_select_file, { component: "tinymce_details", action: "selecticondata" }, function(data){ //alert(data); alert($(data).find('#ContentPane').html()); } ); [/CODE]

Member Avatar
Member Avatar
+0 forum 11

Hi I have started this code but i cant get it to work. new to javascript, but not sure how it works. im trying to make an alert for a text box "rrp" that alerts when it is less than the list price, therefore stopping an incorrect price being lodged. here is what i have... <!DOCTYPE html> <html lang="en"> <head> </head> <body> <!-- Start of FORM --> <form method="post" action=""> <script type="text/javascript"> function margin() { var LIST = document.getElementById("list").value var RRP = document.getElementById("rrp").value if(LIST>RRP) { alert("The list price is greater than the rrp") } </script> <!--this list price is echo'd …

Member Avatar
Member Avatar
+0 forum 2

I'm a totally beginner in javascript. i need some chunks of code of it. i have a form. i'm going to store the field into mysql. there are 2 conditions : one or all fields empty OR none is empty. when there's no empty field, the data will be stored. but, when there's empty field, no data will be stored and there will come up the alert "please fill all the fields!" here's the form : [CODE]<form method=POST enctype='multipart/form-data' onclick='show_alert()' action=insert.php> <table> <tr><td>Data 1</td> <td><input type=text name='data1'> </td></tr> <tr><td>Data 2</td> <td><input type=text name='data2'> </td></tr> <tr><td>Data 3</td> <td><input type=text name='data3'> </td></tr> …

Member Avatar
Member Avatar
+0 forum 3

i keep getting these pop up notifications with the red badge and white X on the bottom right of my computer. it won't allow me to open up any websites in Explorer. it also won't allow me to run any of my anti-virus and ad-aware software as if it's blocking it. i need help. thanks in advance

Member Avatar
Member Avatar
+0 forum 28

The End.