Lengkap

Write ajax function to repetitively call cgi until success code is returned

I need an ajax function that does the following:

- has 3 parameters: companies_id, subclient_id, span_name

- calls a cgi [url removed, login to view]

- if cgi returns 0,

replace image in span id=pdf_image2 with different image ([url removed, login to view]), and

waits/sleeps for 5 seconds then calls the [url removed, login to view] url again. this needs to loop, waiting 5 seconds each time, until a) get a non-zero response, or b) 2 minutes have elapsed

- if the cgi returns 1, replace the current span with a) an image, and b) a new link

image ([url removed, login to view]) and url ([url removed, login to view]), and

Base html:

<span id="pdf_image2"><input alt="Convertir a PDF" type="image"

src="[url removed, login to view]" width=10 height=11

onClick="javascript:gen_pdf(\'424\',\'63618202\',\'pdf_image2\')"></span>

Some crappy attempts i made to get this to work (with the html above inline):

[url removed, login to view]

notes:

needs to work in internet explorer 8 and greater, firefox, chrome

must have as minimal browser impact possible

must close every cgi session between 5 second calls...

Kemahiran: AJAX

Lihat lagi: call minutes, ajax function read data, excel vba rank function write, function write file access 2007, php code search domain availability ajax, function write, code shopping cart aspnet ajax, function write bid, drag drop ajax function save mysql, ajax list write, magento add ajax function

Tentang Majikan:
( 5 ulasan ) Scottsdale, United States

ID Projek: #10114063

Dianugerahkan kepada:

t83714

I will encapsulate jQuery in anonymous namespace so that: 1> Widest browser support (as using jQuery) 2> Minimal browser impact: the jQuery was declared in an anonymous function and will not be visible to global JS Lagi

$25 USD dalam sehari
(0 Ulasan)
0.0

6 pekerja bebas membida secara purata $29 untuk pekerjaan ini

mondersky

Hello, am ready to start on it, I am a jQuery-javascipt expert your satisfaction is my first objective trust me.

$50 USD dalam 3 hari
(17 Ulasan)
5.2
$20 USD dalam sehari
(6 Ulasan)
2.7
webhostzone

Hi there, I have gone through your project requirements in details and I am looking forward to discuss with you about your project. We are an experienced and dynamic team of designers and programmers, expertise in Lagi

$25 USD dalam sehari
(1 Ulasan)
2.4
synanisthehero

hi i ama PHP developer . i can build your javascript ajax request . feel free to ask any question. thank you very mcuh

$25 USD dalam sehari
(3 Ulasan)
1.7
$30 USD dalam sehari
(0 Ulasan)
0.0