I can not get my jQuery function to work for some reason.. its purpose is when a button is clicked it will toggle hide/show an iframe
Code:
http://jsfiddle.net/darego/Z62P7/2/
Cheers for the help
Printable View
I can not get my jQuery function to work for some reason.. its purpose is when a button is clicked it will toggle hide/show an iframe
Code:
http://jsfiddle.net/darego/Z62P7/2/
Cheers for the help
The elements does not exist when you're calling hideToggle. Executing your code when the page has finished loading will fix it.
Code:$(document).ready(function(){
// your code here...
});