15,120 Topics
| |
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 | |
HI guys, I've just run into an issue. Basically I'm working t a wordpress site, and there are some conflicts with the usage of the "$" sign so I used this in the document ready to allow me to use "$" in place of jQuery: jQuery(document).ready(function($){ ... }); It works … | |
Hello, I have created a form using ajax and php but when I click on submit the values in the textarea remains as it not disappears so I found a way to make form reset once I click on submit here is my code and please let me know how … | |
Hello Web Developers; I'm having a hard time figure out why I can't do a simple table. I have an lines that contain ul and li, If i put them inside the table tr and th the bullet comes out which is I set it none. Please help me with … | |
Hello. My question is very basic but I can not find/understand the answer anywhere. How check if the name-value "name": value in an object. I know that with Object.keys() method we can checking the names of the properties. I know too that with Object.name or Object["name"] we can see the … | |
We have homework due tomorrow, and it's a three person group. I don't understand the slightest bit about arrays, but I've been trying - now the code just looks messy. Just with the things that say ------------------Tierra------------------, can you all help me? The book is useless and I'm just frustrated … | |
how to create a android app? | |
Hello. My question is very basic but I can not find/understand the answer anywhere. How check if the name-value "name": value in an object. I know that with Object.keys() method we can checking the names of the properties. I know too that with Object.name or Object["name"] we can see the … |
The End.