15,688 Topics

Member Avatar for
Member Avatar for Kalaivani Nair

Good Day Everyone. I'm using FoundationPress as frontend and Wordpress as backend. I created a very simple plugin to upload image into the homepage. I've no issue with that. I can display them properly in the page I desired. However I wish to use little bit of javascript for the …

Member Avatar for Taywin
0
237
Member Avatar for Ryujin

Suddenly (after no known changes to the page) i see it failing to load in a couple browsers, both of them ones that previously loaded it w/o problems! http://www.kutztown.edu/library/indexoc.asp **Problematic browsers:** || **No problems:** Chrome Canary 41 on a PC || IE 10 on same PC Stock browser on an …

Member Avatar for pritaeas
0
165
Member Avatar for Rizi004

Hello everyone i'm developing facebook app but i want when user reach at the end of the page the content auto load from database. The only problem is that how i can check that user's reach at the end of the page with in iframe. I have used auto load …

Member Avatar for Masterblank
0
229
Member Avatar for pelusa

I have two input fields, username, and password. I perform a basic check for empty value for each, if either is empty the return is false and so the .$ajax request does not get executed. That works. I would like to ask for help to enhance the check for empty …

Member Avatar for diafol
0
287
Member Avatar for ehpratah

Hi can anyone help me find what am i doing wrong. i have an xml request that check data on db and return the result. and base on that result it will clear or highlight a textbox. its working fine using the original function but when i add another xml …

Member Avatar for pzuurveen
0
215
Member Avatar for ChungHao

My project is to create a webpage to search mobile gadgets on a website(www.mudah.my), and I want the result to be shown on my own webpage, but NOT redirecting me to www.mudah.my. May I know is that possible to do that? I've ask around and people told me that I …

Member Avatar for Masterblank
0
204
Member Avatar for owenransen

If you use JavaScript for geolocation the first time someone uses it then his browser will ask for permission to send his location to the site where your web page is. As far as I can tell Chrome (PC and Android), Explorer (PC), and native browsers in Android devices only …

Member Avatar for Masterblank
0
223
Member Avatar for olawole.famakin

Hello i am trying to echo a listview using php, i have made an ajax request to display the list view in my html page using div. but the list view never comes out properly, which leaves me with only one thing, that the css and javascript for this listview …

0
97
Member Avatar for Clevertech.biz

Hey guys, For all web developers out there - a new boilerplate tool allowing to rapidly build Node.JS powered API’s, online stores, and many other apps (igloos) has been made available to the public - http://eskimo.io/. It’s open source! Here you’ll find more details, components, examples and the source - …

0
67
Member Avatar for hallianonline

Hello i am trying to resize the iframe based on its content but its not working may be becuase of the cross domain here is the code i am using <script language="javascript" type="text/javascript"> function resizeIframe(obj) { obj.style.height = obj.contentWindow.document.body.scrollHeight + 'px'; } </script> <iframe src="http://other_domain_name/get?v=07armilCx5A" frameborder="0" scrolling="no" id="iframe" width="100%" height="300px" …

Member Avatar for gabrielcastillo
0
143
Member Avatar for DaniWebUser_1

I'm learning vanilla JS at the moment. One of the things I'm learning how to do is make simple animations. I've made an animation where I moved a square div in a square path. I've made another where I moved a circular div diagonally downward. I've even learned how to …

Member Avatar for DaniWebUser_1
0
268
Member Avatar for owenransen

It seems to me that the Audio object can not be easily played inside a JavaScript callback when running on a mobile device. The code below shows an onload function which, on a PC, plays the sound when the web page is loaded, but on Android phones plays nothing. My …

Member Avatar for owenransen
0
316
Member Avatar for mc3330418

I'm trying to update an input value using jquery and I can't get it to do anything. I've tried .val(), .attr, .html, .text. $('#acctnum').click(function(){ var index = this.selectedIndex; var bal1 = $('#bal1').val(); var bal2 = $('#bal2').val(); var bal3 = $('#bal3').val(); var bal4 = $('#bal4').val(); if (index == 0){ $('#poamnt').val(bal1); alert …

Member Avatar for cool_zephyr
0
164
Member Avatar for lea_1

Hey, all! I'm trying to figure out how to add collision detection to the following code but I'm having trouble trying to figure out how to pull in the x and y coordinates of the different eggs that are falling randomly. Would you be able to tell me what I'm …

Member Avatar for janissantony
0
860
Member Avatar for Siberian

Hi, I was informed the only way to get [this](http://cssdeck.com/labs/navigation-dropdown-with-flip-effect) drop down to work on Andriod, WP & to a larger extent iPhone is though JS, I was hoping someone could lead onto what that problem may be ?

Member Avatar for Siberian
0
262
Member Avatar for amita_1

how can I sent value to JSP by javascript? I want to sent latitude and longitude parameters to JSP <body> <button onclick="getLocation()">click</button> <script> function getLocation() { if (navigator.geolocation) navigator.geolocation.getCurrentPosition(displayLocation); else alert("Oops, no geolocation support"); } function displayLocation(position) { var latitude = position.coords.latitude; // ดึงเอาค่า lat var longitude = position.coords.longitude; // …

Member Avatar for janissantony
0
152
Member Avatar for gogs85

How to make in admin page to see in navigation Badge with number of post. Autors make new post and administrator see like in this image example: ![aebb9fd23d41b5677781d14c3d116dcd](/attachments/small/3/aebb9fd23d41b5677781d14c3d116dcd.jpg "align-left") Thanks!!!

Member Avatar for mattster
0
180
Member Avatar for susman81

i want to Show the second block of check boxes if first block of checkboxes completed. i.e; first block has 2 or 3 check box if all were selected then second block will be displayed and same technique will be used for third one. please help me.

Member Avatar for codevzv
0
210
Member Avatar for hell hansen

Hi Guys, I need to create one app which must run in terminal or cmd, or lets say in background! The app must be able to request a url, and get content of url requested, parse the html and save it as csv. I have it runnig in browser, so …

Member Avatar for lorenzoDAlipio
0
182
Member Avatar for rb.dhoriya

hello... i'm creating a web application in asp.net in which i would like to give user a one "JavaScript" code, through which the user can get content from my website to his/her own website. i've used one generic handler to process user request in my website. i've tried using jQuery.. …

Member Avatar for rb.dhoriya
0
3K
Member Avatar for nevek

Hi, I am trying to load u sub-page wich has 2 datepickers but i can't get them to work. This is the code on my main page <script> $(function(){ $("#datepicker").datepicker(); }); //function is called onchange in a list function loadTherapie(){ var therapieID = document.getElementById("lijstTherapieen").value; $("#divTherapie").load("wijzigtherapiesubpage.php?therapieID="+therapieID+"&cacheOntloper="+randomNumber()+"&type=2", function(response){ $(response).find("#datepicker").datepicker(); }); } </script> …

Member Avatar for nevek
0
322
Member Avatar for OsaMasw

I have problem in my site and accrues only when using htaccess, I have many css and js files stored in my site when import them on localhost by using relative path <script src="js/jquery.min.js"></script> when using htaccess the js or css cannot be loaded and firefox show me message "**The …

Member Avatar for OsaMasw
0
258
Member Avatar for UK-1991

Hello guyz, I have created a security on a page like there are several password issued to the users like on join us page if the person click on it the prompt box and user enters the password users are on that page and password is wrong it redirects to …

Member Avatar for diafol
0
293
Member Avatar for asust9

Hi, Have a strange case where I try to make a GET request using jQuery. $.ajax({ type: 'GET', url: 'MyMethod?param=ABC.ABC', timeout: 10000, contentType: 'application/x-www-form-urlencoded; charset=UTF-8', success: function (data) { }, error: function (xhr, status, error) { } }); The method above works fine. But if I change the URL to …

Member Avatar for diafol
0
50
Member Avatar for Wisnu_1

Hello! I'm having trouble with my college assignment. The assignment wants me to display an XML file using XSLT and add some filtering function. I have no problem displaying the XML with XSLT in my web page using javascript. I used the tutorial from w3school (http://www.w3schools.com/xsl/xsl_client.asp). However i have no …

Member Avatar for pritaeas
0
314
Member Avatar for daniel36
Member Avatar for gogs85
0
449
Member Avatar for sandy4a0

<!DOCTYPE html> <html> <head> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script> <script> $(document).ready(function(){ $("div").focus(function(){ $(this).css("background-color","blue"); }); $("div").blur(function(){ $(this).css("background-color","black"); }); }); </script> </head> <body> <div style="background-color:black;height:100px;width:100px;"> </div> </body> </html>

Member Avatar for JorgeM
-1
134
Member Avatar for jean_5

I have the following code: if (object.GroupBy == "Cities") $("body").children().find("td:first[name=Name]>").html("City"); if (object.GroupBy == "Banks") $("body").children().find("td:first[name=Name]>").html("Banks"); if (object.GroupBy == "User") $("body").children().find("td:first[name=Name]").html("Users"); <tr class="form-list-table-header"> <td class="" name="Name"></td> <td class="" name="Total">Total</td> </tr> <div><span>Group By</span></div> <select class="combobox" name="GroupBy"> <option value="Cities">Cities</option> <option value="Banks">Banks</option> <option value="Users">Users</option> </select> </div> If the user select Cities, the td is …

Member Avatar for jean_5
0
117
Member Avatar for aksahoo17

Hi, i want to set a coldfusion variable to undefined within a javascript function, i just written as below, but without calling the method it automatically set the variables on page load. Can anybody help me in the same i want to set the below variable only on call of …

Member Avatar for dipakatcvrca
0
3K
Member Avatar for khanNivas
Member Avatar for Taywin
0
80

The End.