Go Back   CodingForums.com > Search Forums

Before you post, read our: Rules & Posting Guidelines

Showing results 1 to 15 of 15
Search took 0.11 seconds.
Search: Posts Made By: CMaso
Forum: Ajax and Design 12-15-2012, 06:23 PM
Replies: 18
Views: 1,300
Posted By CMaso
Very nice! One interesting thing - I don't know...

Very nice! One interesting thing - I don't know if PHP does this, but Coldfusion generates random numbers based on a system timer, so any simultaneous requests will get the same random number. From...
Forum: Ajax and Design 12-15-2012, 04:37 AM
Replies: 18
Views: 1,300
Posted By CMaso
Aha.

I've continued to scour the web, and it seems this is a problem that pops up again and again for folks using synchronous XMLHttpRequests with IE, and this article best explains why:...
Forum: Ajax and Design 12-15-2012, 12:05 AM
Replies: 18
Views: 1,300
Posted By CMaso
Problem is, if open() is synchronous, IE delays rendering

First, I want to let everyone know I've decided to get medieval on this problem and I've posted a job for it in Elance, so if anyone knows Coldfusion and Ajax and feels like making a little cash, the...
Forum: Ajax and Design 12-13-2012, 10:21 PM
Replies: 18
Views: 1,300
Posted By CMaso
With this example, I tried at first making the...

With this example, I tried at first making the request object *not* global, defining it inside the function:




<script>
function processAjax(url) {
var req = new XMLHttpRequest();
...
Forum: Ajax and Design 12-13-2012, 06:55 PM
Replies: 18
Views: 1,300
Posted By CMaso
Yes, but if I do that, it doesn't work in either...

Yes, but if I do that, it doesn't work in either FF or IE8. It displays the first then, then quits. I'm not positive as to why, but I think something like this needs to be synchronous, since each...
Forum: Ajax and Design 12-13-2012, 12:07 AM
Replies: 18
Views: 1,300
Posted By CMaso
Hm, that didn't change anything, unfortunately;...

Hm, that didn't change anything, unfortunately; still the same behavior.

A couple small things I discovered though:

1) Since I'm getting synchronously (3rd argument in get() is "false"), it's...
Forum: Ajax and Design 12-12-2012, 09:40 PM
Replies: 18
Views: 1,300
Posted By CMaso
IE8 won't render ajax responses 1 at a timr

I created a simple AJAX model of something I'm trying to do, which is loop through a list of numbers, sending an AJAX request with each iteration, and displaying the response text of each request as...
Forum: DOM and JSON scripting 12-09-2012, 07:20 PM
Replies: 5
Views: 594
Posted By CMaso
Yes, I found that the attachEvent code in my post...

Yes, I found that the attachEvent code in my post above does work.

Now, I need to do what I'm really looking to do, which is use ajax in populateDiv(). Fun with browsers...

Much thanks all.
Forum: DOM and JSON scripting 12-09-2012, 06:47 PM
Replies: 5
Views: 594
Posted By CMaso
Ah, so that's why - I did discover that while...

Ah, so that's why - I did discover that while experimenting with the code. Also (using IE8) that it wants the div to contain something; I just used an &nbsp;.



Ok, so the code should look like...
Forum: DOM and JSON scripting 12-08-2012, 10:44 PM
Replies: 5
Views: 594
Posted By CMaso
Div object null

I'm having a problem with a simple script. I declare a function at the top of my page that will populate a div down the page. Immediately below is the div tag, and then below the div tag I call the...
Forum: Ajax and Design 05-09-2012, 05:55 PM
Replies: 4
Views: 564
Posted By CMaso
Thumbs up Figured It Out

I figured out what has to happen - and it is simple. It's the 3rd argument in the open() function. This has to be set to false instead of true, and this makes the request synchronous. So:

...
Forum: Ajax and Design 05-09-2012, 05:18 PM
Replies: 4
Views: 564
Posted By CMaso
Hi, thanks for responding. It's a matter of delay...

Hi, thanks for responding. It's a matter of delay -- if the true/false response isn't there yet, I don't want it just to blow past, I want the function to wait until it gets one, and only then...
Forum: Ajax and Design 05-08-2012, 10:54 PM
Replies: 4
Views: 564
Posted By CMaso
Need help with Ajax Timing

Hi, I'm using js and ajax to do some client-side and server-side form validation. At a point, the client-side function calls the server-side function, but it's not waiting for the return from the...
Forum: DOM and JSON scripting 01-11-2010, 04:13 PM
Replies: 0
Views: 1,759
Posted By CMaso
Can't alter width of cell created by insertCell() method

I've created a function whereby the user can click on a button and a new row is entered in a table (table already exists in body code). I do it this way -

var oTbl = document.all.myTable;
oTbl....
Forum: DOM and JSON scripting 12-23-2009, 03:50 PM
Replies: 3
Views: 893
Posted By CMaso
Getting element created on the fly

In a function, I created a hidden field and attached it to my form object like so:

var objForm = document.getElementById("myForm");
var objHiddenField = document.createElement("input");
...
Showing results 1 to 15 of 15

 
Forum Jump

All times are GMT +1. The time now is 07:33 PM.