Modify Javascript to pass and execute javascript via RPC

Attached are 3 files. This project should be fairly simple for someone versed in JS/HTML/PHP/etc.

This is an example of a much larger application we are building, but has enough components in the example to exhibit what we're wanting to do. The entire working application has thousands of lines and hundreds of hours involved, so we can't change the way we work it.

What is currently happening:

1. The main php file loads a page. Some elements have events that call a javascript function that calls an RPC file which returns some data and replaces the contents of a div (separated by | ) so for example.. stuff | this content | stuff2 | more content in the RPC file would fill the div "stuff" with "this content" and then stuff 2 with "more content".

2. It can pass any text/html/etc.. but it won't pass javascript.. or execute it.. it won't show up in the html when you examine the page source..

What we want it to do..

1. We want it to pass and execute javascript along with everything it already passes..

2. We can't modify the way we call sndReq function and we can't modify the contents of the rpc file (atleast not the basic structure). We have to make the change by making the javascript function allow for passing and executing any javascript that it finds in the returned content. Currently it seems to strip it out.

Please only bid if you are ready to finish project very quickly.

Skills: HTML, Javascript, jQuery / Prototype, PHP

See more: what is data structure, what are the application of data structure, what is javascript, what is a javascript, javascript what is, rpc, javascript to c++, simple javascript project example, php modify php file, thousands php project, html javascript example, javascript etc, show strip, text javascript, ready javascript, pass page, change javascript, javascript text, structure javascript project, basic javascript

About the Employer:
( 9 reviews ) Tampa, United States

Project ID: #1446969

Awarded to:


hi,im ready

$200 USD in 1 day
(34 Reviews)

4 freelancers are bidding on average $198 for this job


Hello, i have few questions please check PMB

$150 USD in 3 days
(13 Reviews)

You did not attach any files. Please provide me with more details so I can take a look at the problem.

$190 USD in 3 days
(39 Reviews)

Sounds a technology like JSONP might be helpful... Could you think about changing the backend server (and write it in something else than PHP) ?

$250 USD in 30 days
(0 Reviews)