Javascript, ajax method=post loop

Cancelled Posted 7 years ago Paid on delivery
Cancelled Paid on delivery

Hi.

I want to write a short javascript to send a post request x times. I want this to be excuted without the need of browser emulation in order to be lightning fast.

I have previously had someone making a script but after the page was changed it does no longer work.

!!!

var h = parseInt($(".ajaxHealth").text().slice(0,-1));h = (100 - h)/10;$.ajax({ url: "/points", method: "POST", data: { "pointsitem": "9", "points_purchase": "Purchase+Item%21"}});$.ajax({ url: "/points", method: "POST", data: { "pointsitem": "10", "points_purchase": "Purchase+Item%21"}});for (var i = 0; i < h; i++){$.ajax({ url:"/points", method: "POST", data: { "pointsitem": "2", "points_purchase": "Purchase+Item%21"}});}

!!!

AJAX HTML5 JavaScript

Project ID: #11656433

About the project

9 proposals Remote project Active 7 years ago

9 freelancers are bidding on average $20 for this job

insystemgrp

I have good knowledge of ajax,jquery and javascript. I able to do this task very well with good quality. our main motto is client satisfaction and make a long term relationship with you. Thank you

$15 USD in 1 day
(100 Reviews)
6.7
florinbacu

-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- More

$30 USD in 1 day
(36 Reviews)
6.1
Torricelli

Hi, i hope you're doing well. I've just read your project's description and i would like to help you with it. I'm an experienced web developer with the necessary skills for getting this job done. Responsibilit More

$30 USD in 0 days
(67 Reviews)
5.6
digimuflon1

WEB Developers Web Design, E-commerce Platform, Web Application, Cake PHP, eBay, Wordpress, CMS, Custom Co Raddyx Technologies is a leading software development company providing the highest quality information tec More

$20 USD in 10 days
(8 Reviews)
3.2
sudhakar692

Hi, I Just had a look at your project, it seems that you need your script query to the server n number of time automatically using post method. Here is my small introduction, My name is sudhar kumar and i have an More

$25 USD in 1 day
(2 Reviews)
1.4
SeyiLanlege

Use a for loop, eg for (x=0;x<l;x++){} where l is the number of times you want it to run. If this helps, please award me the project, if it doesn't I can help you out with it.

$10 USD in 0 days
(0 Reviews)
0.0