Go Back   CodingForums.com > Search Forums

Before you post, read our: Rules & Posting Guidelines

Showing results 1 to 25 of 500
Search took 1.00 seconds.
Search: Posts Made By: rwedge
Forum: Ajax and Design 10-21-2007, 10:21 PM
Replies: 4
Views: 2,407
Posted By rwedge
var rValue; function cButtons(){ ...

var rValue;
function cButtons(){
ajaxFunction();
alert(rValue);
}
When the function cButtons() is called, with async set to true and the var rValue initalize as undefined, the...
Forum: Ajax and Design 10-21-2007, 09:39 AM
Replies: 4
Views: 2,407
Posted By rwedge
Try: ...

Try: xmlHttp.open("GET","cateV.php",false);
Forum: Ajax and Design 10-20-2007, 02:48 AM
Replies: 2
Views: 1,949
Posted By rwedge
This bit: var status; var statusText; try{...

This bit: var status;
var statusText;
try{ status = xmlHttp.status;}catch(e){document.write("Status Error "+status);}
try{ statusText = xmlHttp.statusText}catch(e){document.write("StatusText...
Forum: Ajax and Design 10-14-2007, 07:44 PM
Replies: 9
Views: 1,977
Posted By rwedge
You have a local scope on the variable xhr in...

You have a local scope on the variable xhr in your getHTTPObject function

function getHTTPObject() {
var xhr = false;
if (window.XMLHttpRequest) {
xhr = new XMLHttpRequest();
} else if...
Forum: Ajax and Design 10-14-2007, 07:18 PM
Replies: 1
Views: 3,013
Posted By rwedge
You are setting overrideMimeType for the native...

You are setting overrideMimeType for the native HttpRequest, which IE6 and below does not support.

if (window.XMLHttpRequest) {
httprequest = new XMLHttpRequest();
if...
Forum: Ajax and Design 09-27-2007, 01:50 AM
Replies: 4
Views: 2,801
Posted By rwedge
What kind of error? Time wise, I do not think...

What kind of error?
Time wise, I do not think there would be a noticeable difference in either method. responseXML returns XML, responseText returns a string.




Parse the data from the...
Forum: Ajax and Design 09-24-2007, 05:26 PM
Replies: 4
Views: 2,801
Posted By rwedge
Try this in the asp page:<% ...

Try this in the asp page:<%
response.write("<rss version='2.0' xmlns:media='http://search.yahoo.com/mrss/'>")
response.write("<company>")
response.write("<compname>fdfdfd</compname>")...
Forum: JavaScript programming 09-23-2007, 08:19 AM
Replies: 7
Views: 909
Posted By rwedge
You have a reference to non-existing dropdown()...

You have a reference to non-existing dropdown() function.
onClick="rememberinput('txt1')" is not a form tag event, maybe onsubmit="rememberinput('txt1')", but then there is no function...
Forum: JavaScript programming 09-22-2007, 10:44 PM
Replies: 7
Views: 909
Posted By rwedge
Is the form in an iframe?

Is the form in an iframe?
Forum: JavaScript programming 09-22-2007, 09:26 PM
Replies: 7
Views: 909
Posted By rwedge
Instead of document.location use window.location

Instead of document.location use window.location
Forum: JavaScript programming 09-22-2007, 09:21 PM
Replies: 1
Views: 719
Posted By rwedge
More can be done with a query string, but this...

More can be done with a query string, but this may suffice<script type="text/javascript">
var q = location.href.split('?')[1];
if (q) {
location.reload(location.href + '?' + q);
} else {
...
Forum: JavaScript programming 09-22-2007, 09:17 PM
Replies: 14
Views: 1,619
Posted By rwedge
Try this:<form action="page1.php"...

Try this:<form action="page1.php" name="frmDirectLinks" id="fm" method="get">
<input type="hidden" name="action" value="view">
<input type="hidden" name="id" value="2020">
<input type="submit"...
Forum: Perl/ CGI 09-19-2007, 09:09 PM
Replies: 1
Views: 961
Posted By rwedge
Maybe this gdgraph.com sample62...

Maybe this gdgraph.com sample62 (http://gdgraph.com/samples/sample62.html) will help. If you want two y labels you will have to set them, or maybe you want to use two axis.

Your x labels are...
Forum: JavaScript programming 09-13-2007, 11:00 PM
Replies: 5
Views: 698
Posted By rwedge
Minimal validation, but give this a try:<script...

Minimal validation, but give this a try:<script id="clientEventHandlersJS" type="text/javascript">
function form1Chk() {
var msg = '';
if (form1.txtusername.value == "") {
msg = 'Username...
Forum: JavaScript programming 09-13-2007, 10:20 PM
Replies: 3
Views: 863
Posted By rwedge
Here's an example using onresize<style...

Here's an example using onresize<style type="text/css">
html, body { overflow: auto; }
</style>

<script type="text/javascript">
function getWinSize() {
var winWidth = 0, winHeight = 0, d =...
Forum: Ajax and Design 09-13-2007, 01:51 AM
Replies: 4
Views: 1,897
Posted By rwedge
Try this:<script type="text/javascript"> ...

Try this:<script type="text/javascript">
/*<![CDATA[*/
function loadIframe() {
document.getElementById('if_one').src = 'http://www.mtv.com/';
document.getElementById('if_two').src =...
Forum: Ajax and Design 09-13-2007, 01:31 AM
Replies: 4
Views: 5,492
Posted By rwedge
You are getting the 404 error because you are not...

You are getting the 404 error because you are not properly appending the query string to the URL , ie '?'url=url+"?lang="+obj.options[obj.selectedIndex].value;

or with +=
...
Forum: Perl/ CGI 09-12-2007, 10:13 PM
Replies: 5
Views: 1,311
Posted By rwedge
Since you need to handle this client side, you...

Since you need to handle this client side, you could use Javascript to target the anchor when the document loads<script type="text/javascript">
/*<![CDATA[*/
window.onload = function() {...
Forum: JavaScript programming 09-12-2007, 08:32 PM
Replies: 3
Views: 1,902
Posted By rwedge
body.appendChild(iframe) appends the iframe...

body.appendChild(iframe) appends the iframe inside the body tags, not after.

To append the iframe to a division:<script type="text/javascript">
function load(file){
var iframeTag =...
Forum: Ajax and Design 09-12-2007, 07:00 AM
Replies: 5
Views: 4,272
Posted By rwedge
Whats the difference between two seperate sites...

Whats the difference between two seperate sites with duplicated content and two sites which share the same common content? Won't they both appear the same?

Without lookiing at the sites and seeing...
Forum: Ajax and Design 09-12-2007, 06:33 AM
Replies: 11
Views: 2,794
Posted By rwedge
Maybe, for testing, a check just before the...

Maybe, for testing, a check just before the request if (typeof xmlhttp != 'object') { alert('xmlHttp is not an object'); }
if (typeof handleResponse != 'function') { alert('handleResponse is not a...
Forum: Ajax and Design 09-12-2007, 04:50 AM
Replies: 11
Views: 2,794
Posted By rwedge
Is handleResponse available to line 196? ...

Is handleResponse available to line 196?

With the requests being on different lines in firebug I assume you have more than one HttpRequest function.
Forum: Ajax and Design 09-12-2007, 04:16 AM
Replies: 1
Views: 3,585
Posted By rwedge
The reason bValid is undefined for the function...

The reason bValid is undefined for the function validateEmail is because you have declared 'var bValid' in the function valEmail, giving it a local scope. bValid is only defined in the function...
Forum: Ajax and Design 09-12-2007, 03:31 AM
Replies: 6
Views: 2,836
Posted By rwedge
How are you getting the radio data? What does the...

How are you getting the radio data? What does the data look like, is it static html with a link to a stream printed by the PHP when the page is rendered? Can you request updates from the radio server?
Forum: Ajax and Design 09-12-2007, 03:25 AM
Replies: 11
Views: 2,794
Posted By rwedge
Try putting open after readystatechange ...

Try putting open after readystatechange
xmlHttp.onreadystatechange = handleResponse;
xmlHttp.open("GET", url, true);
xmlHttp.send(null);You will need to create a new instance of...
Showing results 1 to 25 of 500

 
Forum Jump

All times are GMT +1. The time now is 01:49 AM.