Käynnissä

Write some Software

I need a small javascript snippet to dynamically create objects that will be passed to REST api (in the url).... for instance this is what I have

return '{"$or": [{"First_Name": "'+ Apperyio("inputName").val()+'"},{"Last_Name": "'+ Apperyio("lastName").val()+'"},{"Chapter_Name": "'+ Apperyio("chapterName").val()+'"},{"State": "'+ Apperyio("state").val()+'"}]}';

Instead of them written out like that I would rather them check is the object is empty - for instance

"First_Name" : "" <---- if that has a empty value so I don't want it passed in that return statement at all (the same goes for all of them above)

please rewrite this for me.

Taidot: Javascript, RESTful

Näytä lisää: url rewrite software, software write websites idea, software write book images, software write books, software write protection, free software write book, software write book, write algorithm safe state, software write protect software, software write technical manual

Tietoa työnantajasta:
( 14 arvostelua ) Snellville, United States

Projektin tunnus: #8669756

Myönnetty käyttäjälle:

tikumishra

Hi I have worked on many successful Javascript, jQuery, AJAX and JSON projects. I can start this work right away and can finish in 1 hour or so. Please let me know, if you are interested and we can start right a Lisää

30 $ USD 1 päivässä
(8 arvostelua)
3.5

3 freelancers are bidding on average $23 for this job

aminovishb

Aucune proposition n'a encore été fournie.

25 $ USD 0 päivässä
(2 arvostelua)
2.2
projectxmaker

Hi, I could rewrite your script in maximum 15m for testing, and next 15m for sure that it works as u expected. Let ssign it to me :) Looking forward to hearing ur feedback, Regards

15 $ USD 1 päivässä
(0 arvostelua)
0.0