I know that I can call a javascript function on keyup in a input box. but is there any way to refresh a javascript file on keyup in my input box?
I dowloaded prettify. I am creating a page just like stackoverflow's ask a question page. As we know the text in the preview box gets updated whenever we type something. I could replicate this with jquery and ajax. But in the code parts prettify does not work. However when i have code when the page loads, it works.
I suppose that reloading the prettify js file everytime i enter something will make it work.. please help