15,120 Topics

Member Avatar for
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
308
Member Avatar for daniel36
Member Avatar for gogs85
0
445
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
116
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
Member Avatar for jean_5

I have a table and i want that only appear the column that the user select in the combobox <table class="form-list-table" width="100%"> <tr class="form-list-table-header"> <td class="hidden" name="Nome">Municípios</td> <td class="hidden" name="Nome">Postos de Identificação</td> <td class="hidden" name="Nome">Colaboradores</td> <td class="" name="Total">Inclusões</td> </tr> </table> <div class="form-item combobox esquerda"> <div class="form-item-label inline ui-widget-content"><span>Agrupar por</span></div> <select …

Member Avatar for pritaeas
0
169
Member Avatar for Azii

Hi, The question is regarding PHP and Javascript/Jquery. I have a php page which process the form data and displays it on SUBMIT. I need to collect that data into javascript. how should I proceed? **//Php file** <?php @session_start(); $uname = $_SESSION['sessionVar']; ?> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> …

Member Avatar for Taywin
0
239
Member Avatar for jean_5

I have the following code: isBigInt: function () { var val = bigInt(); if (bigInt(val.toString()).greaterOrEquals("-9223372036854775808") && bigInt(val.toString()).lesserOrEquals("9223372036854775807")) return true; else return false; } I have downloaded the biginteger library in the https://www.npmjs.org/package/big-integer , but this code does not get the correct number typed by the user.

Member Avatar for wolfdragon
0
852
Member Avatar for totalwar235

I would like to create an array of objects. I am not sure as to how this would work as my searching through javascript does not give an address of identifier. I can only use javascript as the site is being designed for local use. if it did I would …

Member Avatar for wolfdragon
0
135
Member Avatar for ravi142

Hello, In php code generate output completly but when user click on 'PDF' Button then Output generate in PDF file or Click in 'Excel' button then generate Excel file as download. Thank You

Member Avatar for diafol
0
160
Member Avatar for Azii

Hi, I have php page, 2.php, which collects the data and dispalys it from previous page , 1.php. In 2.php, I also have html and javaScript, which contains a button, and cerresponding onclick script, which opens the OUTLOOk to send the E-mail with given sendername and subject. But for body …

Member Avatar for broj1
0
202
Member Avatar for axymak

I want to create a simple marcro file which will increment the form value every time. TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:NoFormName ATTR=ID:mobileNumber CONTENT=QESSARWF50 TAG POS=1 TYPE=BUTTON FORM=NAME:NoFormName ATTR=TXT:Proceed TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:NoFormName ATTR=ID:mobileNumber CONTENT=QESSARWF51 TAG POS=1 TYPE=BUTTON FORM=NAME:NoFormName ATTR=TXT:Proceed I want to repeat this query for about 100 times with increment. …

0
64
Member Avatar for thilipdilip

Go Back to Previous Spot on PageI'm using list of page in one page sometimes I have a longer list of items. When the user scrolls down the page and clicks on the item, they go to a detailed view for that item. If they hit the back button on …

Member Avatar for gentlemedia
0
235
Member Avatar for grakovski

Hello. I have one problem with only one text witch shows two times (i want only once) Here is picture: http://i.imgur.com/cfOrBCs.png Maybe the for cycle loops this text and...this is happen. I want to show only once in the middle. Here is code: var matchcount = 4; $.ajax({ type: 'GET', …

0
219
Member Avatar for ZeroEddy

Below is my code. I want to make a calculator using javascript. The script will check weather you enter a diget. If not it will display a message on the screen saying to enter one. However I want the paragragp "answer" to display the message. I cant seem to get …

Member Avatar for ZeroEddy
0
461
Member Avatar for john jr

Hello my friend out there i realy need help .i'm working on one of my class labs but things is not that write to me...could one out there assist me thanks you. here is the quz<<<<<< Write a program in HTML and JavaScript for the following tasks: Find the maximum …

Member Avatar for Taywin
0
198
Member Avatar for Abraham_3

In my project I have got a "back button" that is calling a javaScript function that remembers the previous url when called. //back button function function goBack() { $window.history.back(); } the url being remembered or being called when the back button is clicked contains an ID and this is ID …

Member Avatar for Taywin
0
227
Member Avatar for razar63

Hi All I have a simple add to shortlist function using php and would like to add a success Alert message so that users know that the item was added to the shortlist. Ive tried the following code without success. // check if the item is in the array, if …

Member Avatar for broj1
0
1K
Member Avatar for SimonIoa

Hello i use jquery colorbox to open a pop up window. It works in all browsers except from Safari. Any clue why?

Member Avatar for JorgeM
0
476
Member Avatar for Transcendent

I can't seem to add my values from my function. ## I keep greating NaN. ## Here is the html code: <!DOCTYPE html> <!-- grocery.html A document for computeCost.js --> <html lang = "en"> <head> <title>grocery.html</title> <meta charset = "utf-8" /> <style type = "text/css"> #column { display:inline; margin-bottom: 20px; …

Member Avatar for AndrisP
0
217
Member Avatar for phoenix_2000

Hey all, Im working on a website that has to be capable of viewing youtube video's without having to browse to youtube itself. I followed the tutorials from both video.js and video.js' youtube plugin, but when the page loads, it gives me: Uncaught ReferenceError: videojs is not defined (vjs.youtube.js line …

Member Avatar for phoenix_2000
0
2K
Member Avatar for mitch.hendrix.73

I am to add script to a set of links on a page to change the image on that page with the switchPix function every time the mouse moves over the text of 'Asian Art Museum', 'City Hall', etc. I don't even know where to start. <article> <h2 id="main">What's Nearby</h2> …

Member Avatar for mitch.hendrix.73
0
103
Member Avatar for john jr

Hello my friend out there i realy need help .i'm working on one of my class labs but things is not that write to me...could one out there assist me thanks you. here is the quz<<<<<< Write a program in HTML and JavaScript for the following tasks: Find the maximum …

Member Avatar for stultuske
0
113
Member Avatar for arafath077

<div class="btn-group"> <button type="button" class="btn btn-sm btn-success btn-flat dropdown-toggle" data-toggle="dropdown"> Action <span class="caret"></span> </button> <ul class="dropdown-menu" role="menu"> <li><a id="action" class="a" href="#action" data-index="100" data-toggle="done">Done</a></li> <li><a id="action" class="a" href="#action" data-index="100" data-toggle="processing">Processing</a></li> <li><a id="action" class="a" href="#action" data-index="100" data-toggle="error">Error</a></li> </ul> </div> <script> $( "#action" ).on("click", "a.a", function(){ //alert('working'); var id = $(this).data('index'); var status …

Member Avatar for pritaeas
0
168
Member Avatar for Prasho30

I have javascript variable as var str = "str"; want to access this value in jsp scrptlet Want to know what r the possible ways? Thanks

0
91
Member Avatar for RonKevinT.Manuela

I'm new to git bash using console2: what Im trying to do here is to "ti build -p android -T device" but at the end it shows me the following error events.js: 72 throw er // unhandled 'error' event ^ Error: spawn OK at errnoException(child_process.js:980:11) at childProcess._handle.onexit(child_process.js:771:34)

0
109
Member Avatar for london-G

Basically, the slider does not work on my website. I think that this is due to a javascript conflict however i am not 100% sure about that. I have used firebug and it came up with the error "TypeError: my_glider is undefined" Here is the code: <div class="homepage"> <div id="slider"> …

Member Avatar for JorgeM
0
213
Member Avatar for SpecialistPanther

Hi, I need a simple play and pause button to play multiple audio on one page. Can someone suggest me a method of doing so?

0
65

The End.