Getting The Results From A URL
May 29, 2006
Using JavaScript, I need to call a URL passing it some parameters (this part
I've done), now this URL will return a result like the following...
OK|4540c2aa19a4dddf6ca52c2233b87f31
I need to get that result, strip out the 'OK|' part, and then pass the
remaining string to another URL (again, I've got the passing of parameters
part done). So how can I get this value and store into a variable so that I
can pass it along to another URL?
View 1 Replies
ADVERTISEMENT
Jul 23, 2005
If I create a Listbox with 5 users:
Paul
Dave
Mark
Sam
Bob
If I select 3 users:
Paul, Dave, Mark
Is there any way to have the first name clicked as the first name in
the results ?
IE: If I click Paul, then Mark, The Bob
the results would be Paul, Mark, Bob
Howvever, If I click Mark, then Bob, Then Paul
Then the results would be Mark, Bob, Paul
At the moment the results are coming out in the order of the list !
View 2 Replies
View Related
Mar 2, 2011
I am building an app in Facebook and would like to pull in some Causes stats. In order to do this I am using jQuery and the ajax call. I am also using YQL.
Here is what I have:
As you know this is getting pulled in through an iFrame. This is working just fine in Chrome and FF.
View 2 Replies
View Related
Sep 24, 2009
I'm putting together the following website, HGV/LGV Training [URL] and have an issue regarding a form submit action. Basically I've used an open-source script for the search form so can't get any support from the Author.
My problem is that I need the search results to appear in a different URL but at the moment they just appear in a new DIV on the home page. My knowledge of JS is limited and can't get my head around what the OS script is doing. I think the relevant section of the search form is as follows:
<form method=post action=<?echo $_PHP_SELF;?>>
<input type="text" name="zipcode">
<? echo show_country_codes(); ?>
View 2 Replies
View Related
Aug 13, 2010
We are integrating a IDX feed and I can not figure out a line of code.Currently when you click the link it goes to their site with the result we want. We want it to go to our site, just like "search homes," does.I believe it is simple but my HTML is even simpler. The link should just point to a wrap page.... but I dont know how to do that.
View 5 Replies
View Related
Oct 6, 2010
I don't know if JavaScript is the best choice for this or maybe just Java but i want to create something were I can compare a list of names and their picks with a correct list. For example lets say this is the list of peoples picks...code...
View 9 Replies
View Related
Nov 2, 2010
I'm trying to get each of the if statements below in a text text box with the result depending on the answer of the equation. However i can't figure out a way to allow the user to click a button to to show the result in a text box.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE> New Document </TITLE>
[Code]....
View 1 Replies
View Related
Mar 27, 2006
I have an appointment form with NAME, DATE, TIME, LOCATION. I want to add another set of these same field fields if I have more than one appointment to enter so all appointments are subitted on one form.
I also want the results to be in a layout other than the generic HTML or text layout used by Frontpage. Hope this is clear enough. Don't know if this is possible.
View 4 Replies
View Related
Apr 18, 2009
I am doing a small program using a function to print out the real root or imaginary root. The problem is, it only prints out what the numbers that the user input. However, it does not print out the rest.For Example:
It prints out this:
a = 4 b = 5 c = 3
instead of
a = 4 b = 5 c = 3
root1 = <answer> root2 = <answer>
or The imaginary number is <answer>
My program is below.
<?xml version = "1.0" encoding = "utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
[code].....
View 1 Replies
View Related
Dec 22, 2010
Here is the code i am trying to update the page and display the results in
div section of html using javascript but i am getting an error message.
Error Messge:
Line: 36
char: 1
Error: Object expected
[Code]....
View 6 Replies
View Related
Mar 20, 2005
I have cfreated form which searchs for results and then displays them on the same page. What I want to do is to create a new page automatically if the results are more thne 10, and then 10-20 results show on the next page and so on. Code:
View 2 Replies
View Related
Mar 16, 2010
I am having problems outputting the results from a javascript search function onto a new page.Right now I am using a javascript search script on 7 pages and it works but the results overwrite the current page that the search was initiated from.I would like it to open a new page and print out into a specific area.I've been grinding my gears at work trying to get this to display right.
View 2 Replies
View Related
Apr 22, 2010
I'll make it short. Here's the code (the GET request is taken from a Google example):
Code:
<html>
<script>
function hello() {
[Code]....
The problem: the alert never displays. Firebug shows xmlhttp.status = 0 and responseText = "" all the time. The page is on my local machine.
P.S> I've tried doing a synchronous call as well but that gives me an error message; something like 0x80004005 (NS_ERROR_FAILURE) [nsIXMLHttpRequest.send
View 4 Replies
View Related
Jun 10, 2010
the yahoo function below is for dragging a box around teh screen
(function() {
var Dom = YAHOO.util.Dom,
Event = YAHOO.util.Event,
dd1, dd2, dd3;
YAHOO.example.DDRegion = function(id, sGroup, config) {
this.cont = config.cont;
[Code]....
I would like to show the final TOP and LEFT results in textboxes onMouseUP?!
View 3 Replies
View Related
Nov 18, 2009
This is a compound interest calculator and i have got everything working.What i need now is when i click the calculate button i want the results to open up in a new window.
View 1 Replies
View Related
Oct 28, 2009
i have setup within various DIVs ..
basically i need to hide div 1 & div 2 if textbox 1 = "blah"
View 1 Replies
View Related
Jul 23, 2005
I am looking for a JavaScript poll/survey script that meets the following
criteria:
1) Just a large number of Yes/No questions (at least 20)
2) "Repeat vote-proof"
3) "Display Results" button after survey
4) Results show shortened version of survey question with Y/N tally
If anyone could point me to a reliable script, this would be appreciated.
View 1 Replies
View Related
Jul 23, 2005
I've got a script that I'm trying to debug which uses document.write()
to place HTML within a page. In both IE6 and Firefox when I view
source, I see only the script itself and not any HTML as it's being
written into the page.
Is there a way that I can view what is being placed into the page,
instead of, or in addition to the javascript code?
View 14 Replies
View Related
Apr 1, 2006
I am trying to do a simple check-all / un-check-all checkbox system.
All of the solutions I have seen use "this.form.elements.length" or a
variant of this.
My scripts don't work because "this.form.elements.length" always
returns 0. Example:
document.write(this.FormName.elements.length);
displays "0"
Am I missing something obvious here?
View 3 Replies
View Related
Apr 21, 2006
Considering the following list how do I get a reference to the ul just below
the li with id products? nextSibling gives me a reference to the #text# node
inside the li tag?
<ul>
<li id="products">products</li>
<ul>
<li id="child">child</li>
<li id="chair">chair</li>
</ul>
</ul>
I want to create several functions to add or remove items from the list.
View 6 Replies
View Related
Sep 27, 2006
I noticed weird results when using eval() to do some simple calculations. Here are a few eval() statements and the corresponding results from javascript:
eval("1.2+0.97") =2.17
eval("1.2+0.98") =2.1799999999999997
eval("1.2+0.99") =2.19
eval("1.2+0.981") =2.181
This can happen with other numbers as well, but certainly not with any combination. I have confirmed this on Firefox and Safari, two different versions of OS X and both Intel and PowerPC Macs.
View 4 Replies
View Related
Jan 4, 2012
I am having difficulty displaying a specific key from a json file. I am trying to parse the following json file using query:
[URL]
I am using this type of function to parse the data:
$.each(json.route,function(i,route){
<!--add a paragraph tag to the results div and enter the speficied key-->
$("#results").append('<p>Result: '+ route +'</p>');
Using this I am able to print all the keys from the route but I am not able to print a specific key.
What I want to do is just get the results for the key "fuelUsed" using this method:
$("#results").append('<p>Result: '+ route.fuelUsed+'</p>');
But I never get back any data that way. Am I not specifying my key correctly?
View 2 Replies
View Related
Jun 5, 2011
I'm a newbie when it comes to PHP & JQuery. I have a small issue and was wondering if someone could help me out.
I have a PHP page which takes in the 'source' and 'destination' from the user and results the distance in a new window.
I just want the distance displayed within the same window. I have absolutely NO clue how to use Jquery or what the syntax is.[code]...
View 7 Replies
View Related
Aug 24, 2009
I am pulling in an XML doc, storing it in a global var and through out the app I am transversing it to grab certain info. Up till 1.2.6 it's been working fine, but when I upgraded 1.3.2 I get bad results.
Here are my two test pages:
[URL]
My guess is the it has something to do with Sizzle but I can't place exactly where the issue may be happening.
View 1 Replies
View Related
Jul 2, 2010
Im working on a store locator and I was wondering if its possible for jquery to limit the results show in the sidebar and add a "more results" option. Right now the sidebar is one large div with overflow hidden so it doesnt show too many results.
View 42 Replies
View Related
Sep 22, 2010
I'm currently building a web application based off posted Tweets. As of now, I'm able to pull the first 25 tweets that contain a searched keyword, however I would like the option to 'Show More Results' at the bottom of the page, so users can view more results if they would like. I've found a tutorial, but am still confused as to how to accomplish this.
View 5 Replies
View Related