15,127 Topics
| |
Hi all, I am newish to Ajax, I've used it in the past in very rare circumstances and I understand for the most part how ajax works to combine client side and server side by sending information off to the server and displaying returned information from whereever it sent it's … | |
Forum Hello people, my name is Edwin Galician and I have a problem about the Facebook API in its version 5 and consists of the following, it turns out that on my local server, I work well, but the production version generates me inconvientens the most important so far is … | |
I am new in Symfony2. I am trying to get result from a drop-down using ajax and symfony; I did all the settings as it is which is mentioned in the documentation provided. But I am getting **POST http://localhost/docCMS/web/app_dev.php/getclientaddress/13 500 Internal Server Error** DefaultController.php /** * @Route("/getclientaddress/{id}", name="get_client_address", options={"expose"=true}) * … | |
i am facing small problem, i am not very good with ajax.what i want to check is email avaliblity through ajax and show no or yes.png code: <script type="text/javascript"> $(document).ready(function(){ $("#email_id").keyup(function(){ if($("#email_id").val().length >= 4) { $.ajax({ type: "POST", url: "<?php echo base_url();?>Traveller/email_is_taken", data: "email_id="+$("#email_id").val(), success: function(msg){ if(msg=="true") { $("#email_verify").css({ "background-image": … | |
I have a query on session storage how to store three fields value in a single session storage. I have three fields two radio button (in different groups) and one drop down in the first page this is how my first will look like. I was not able to get … | |
Hi guys! I need help with meta tags on my website! Look on all intire website i have more then 20 pages, and im using only one head.php and footer.php files. So i want to have a meta tags for each page, without dupicating the head.php, and i'm really struggling. … | |
Hello everyone.. this is my php code <div class="content-1 col-sm-12 nopadding"> <div class="list-header col-sm-1">Date</div> <div class="list-header col-sm-2">Product</div> <div class="list-header col-sm-2">Username</div> <div class="list-header col-sm-1">Quantity</div> <div class="list-header col-sm-1">Rate</div> <div class="list-header col-sm-1">Sale Amount</div> <div class="list-header col-sm-1">Payment</div> <div class="list-header col-sm-1">Balance</div> <div class="list-header col-sm-1">Remarks</div> </div> <?php $sql = "SELECT * FROM sale_history order by date … | |
I am have debugging some javascript code in firebug,then i have seen some strange POST thing in firebug this is worrying me? I have registration form when i reload page i see in firebug following "POST http://api.adsrun.net/post" Response Header Cache-Control no-store, no-cache, must-revalidate, post-check=0, pre-check=0 Connection keep-alive Content-Type application/json Date … | |
Hello Web Developer, This is working <form class="frm" action=""> <select onChange="window.location.href=this.value"> <option value=""> </option> <option value="../wxmaps/glob/glob_rrpf.html" href target="wxmdisp">Precip + MSLP</option> <option value="../wxmaps/glob/glob_rrwf.html" href target="wxmdisp">[Parameter2]</option> </select> </form> the problem is when I click one item on the drop down list it appear to the same window. I have a frame name … | |
The console says arr1 is not a function! function union(arr1, arr2, arr3) {//1 arr1 = arr1.concat(arr2).concat(arr3); console.log("concatenation of arr1", arr1, '\n'); arr1 = arr1.sort(); console.log("arr1 good ordered", arr1, '\n'); for(i = arr1.length - 1; i > 0; i --) {//2 for(j = i -1; j > 0; j --) {//3 … | |
i am stuck at one problem where i have two radio buttons "yes" and "no" by default yes is checked and below these radio buttons there are 3 drop downs for country,state,cities and two text fields.no what i want is when user select "no" radio button all these 3 dropdowns … | |
Hello I try to learn the String.charCodeAt(index) method Here is a snippet that demonstrate that the first index is allways 48 independentely of the character. How work's it (I was expecting that each letter has her unicode-number equivalent. function unicoding(str) { for (i = 0; i < str.length; i ++) … | |
I have a form on footer that display on all pages. I want the form not display when I click on contact us button in menu and there should be no form on footer at that page, any help from web developers. Regards | |
Hi, here I included my code to find no of working days between two years. But in leap year I do not know how to find the working days. Can anyone help me? function calculate($month,$year) { $Start_Date="1/".$month."/".$year.""; $myTime = strtotime($Start_Date); // Use whatever date format you want $daysInMonth = cal_days_in_month(CAL_GREGORIAN, … | |
Hi, I'm Kavin, I guess I've always been a bit geeky. I'm currently working on my first website and learning HTML and CSS. I'm also quite keen on photoshop. I also want to learn PHP, MySQL and video editing at some point, but for now I'm still quite busy with … | |
Hi, I am new to this concept. Can anyone give me an example and ideas for google map plotting? In a google map, I want to show all the trucks based on latitude and longitude of the trucks. After showing all the trucks,I want to see a particular truck`s report … | |
Hi, I am looking for angular material service which supports communication between two windows with two controllers for each window. I open a new window from my angular form using $window.open("MyNewWindow.") , i want the selection from this window updated to my parent window. How can i achieve this? | |
Im working on a menu for my website.The idea is that on click on a menuselection the menucard scrolls to said portion of the menu. I tried different approaches,sofar only $(function MyFunction() is working,but i need sth more general where i can include a parameter into the function like function … | |
**Full error:** *xengine.js:2 Uncaught SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode* I have **no framework**. This is pure flat HTML, CSS and JavaScript. HTML goes on like this (up to relevant moment): http://pastebin.com/s8s2KLmt And the JavaScript (starting from line 1, no additional files, entire … | |
I know how to find number of working days for an academic year. But I want to know working days of each and every month from june to april of next year,seperately. How to do? | |
Hi I have problem to get data when insert with ajax. I have ajax.js file and here is this code: $('#text-content').keypress(function(e){ if(e.which == 13) { if($('input#enter-click').prop('checked', true)) { $('#live-send').click(); e.preventDefault(); } } }); $('#live-send').click(function(){ var message = $.trim( $('#text-content').val() ); if($('#text-content').val()!="") { $.ajax({ type: 'POST', dataType: "json", url: './includes/conversation.php', data: … | |
Hello, I tried to integrate api of aylien which is used for article extraction I installed the sk succesffuly but when I tried to run my code it gives me an error Trying to get property of non-object in C:\wamp\www\aylien\index.php on line 15 Notice: Trying to get property of non-object … | |
Hi All, hopefully you can help. I have: <table> <tr> <td width="120" height="120" bgcolor="#8fd656" align="center" onClick="if (this.bgColor=='#8fd656'){this.bgColor='#DDDDDD'} else {this.bgColor='#8fd656'};"> Check Box <input type="checkbox" name="checkbox[]" id="checkbox[]" value="Checked"> </td> </tr> </table> Now this works with changing the background color when I either click the cell itself or check / uncheck the box, … | |
Hi I have problem to get data when insert with ajax. I have ajax.js file and here is this code: $('#text-content').keypress(function(e){ if(e.which == 13) { if($('input#enter-click').prop('checked', true)) { $('#live-send').click(); e.preventDefault(); } } }); $('#live-send').click(function(){ var message = $.trim( $('#text-content').val() ); if($('#text-content').val()!="") { $.ajax({ type: 'POST', dataType: "json", url: './includes/conversation.php', data: … | |
i am having a problem with java script and need to know how i can convert a integer inputted by the user to asterisks. stipulations i have to use a window prompt dialog box and print the asterisks on the page in a paragraph.. i just need help changing the … | |
Hi, I want to distinguish whether the tab closed by clicking X or by another action (clicking a link, or a button which close the current tab). In Firefox - I followed the stack and saw that the function closing the tab (not by X) is called: onxblDOMWindowClose. BUT in … | |
I want to use the instance of ckeditor. when user click on add more button it will create the instance of ckeditor, but that instance of ckeditor is not editable. I mean user is not able to enter anything there. Need help...Thanks in advance :) fiddle : http://jsfiddle.net/pkz7auLy/ | |
Hello i want to calculate three parameters. one X two X three = Y The one is the value of a <input type="number"> the second is default the value '1' and the third is the count of this $sql = "SELECT uid, username, name, profile_pic FROM users"; $result = mysqli_query($db,$sql) … | |
Why does one enter keypress runs (inside) through this code twice? I've tried keypress, keydown and also event.preventdefault() to no avail. $(document).keydown(function (e) { if (e.which == 13) { alert("0") var focado = document.getElementById(document.activeElement.id), fim = focado.id.substring(1), inicio = focado.id.substring(0, 1), fimseg = fim, anterior = inicio + (fim - … | |
if once i click on the Accept button it should change its state to Accepted and that button should be disabled for the future.it should stay in disabled state even after refreshing a page,help me as soon as possible...Urgent |
The End.