flashfocus
11-02-2009, 11:10 PM
Hi,
My goal: Automatically indent the code that the users have entered in custom bbcodes such as [xml], [js], etc
I have found a javascript file that will indent my code. The problem is that I have to call the indenting function before the post is sent to the server. Is that possible?
I know I would have to dig into the AJAX calls somewhere, but I was wondering if some sort of functionality is provided to do this? If not, where would I have to search to 'hack' it together?
If I'm not being clear, please let me know and I'll try to explain a little further.
Thanks for reading!
My goal: Automatically indent the code that the users have entered in custom bbcodes such as [xml], [js], etc
I have found a javascript file that will indent my code. The problem is that I have to call the indenting function before the post is sent to the server. Is that possible?
I know I would have to dig into the AJAX calls somewhere, but I was wondering if some sort of functionality is provided to do this? If not, where would I have to search to 'hack' it together?
If I'm not being clear, please let me know and I'll try to explain a little further.
Thanks for reading!