Tag Archives: JavaScript

Check if a Javascript function exists, if so call it.

I had a little trouble searching for this on Google. So here’s a little Javascript gem for you. If you want to call a Javascript function, but only if it exists, here’s one way you can do that. function ifFnExistsCallIt(fnName) … Continue reading

Posted in Web & Software Development | Tagged | 3 Comments

Two Javascript Tricks: click() and trim()

Man my poor blog hasn’t been updated in quite some time. What on earth could I do to remedy that situation? Wait, I GOT IT! I’ll add a new post! 🙂 Here are two really simple but really useful JavaScript … Continue reading

Posted in Web & Software Development | Tagged | 2 Comments

How to submit HTML without disabling ValidateRequest

So the scenario is this. You have an ASP.Net form field that you want the user to submit HTML to the server with. By default ASP.Net won’t allow this for security reasons. You could get around this by setting ValidateRequest=”false” … Continue reading

Posted in Web & Software Development | Tagged , | 2 Comments