jquery Programming Glossary: doosomething
How to run a function in jquery http://stackoverflow.com/questions/1191833/how-to-run-a-function-in-jquery to write the same code again. If I put function function doosomething Doo something div.class .click doosomething div.secondclass.. function doosomething Doo something div.class .click doosomething div.secondclass .click doosomething That would run the function.. div.class .click doosomething div.secondclass .click doosomething That would run the function on page load rather than only when..
How to run a function in jquery http://stackoverflow.com/questions/1191833/how-to-run-a-function-in-jquery Now the 2 Doo somethings are the same and I don't want to write the same code again. If I put function function doosomething Doo something div.class .click doosomething div.secondclass .click doosomething That would run the function on page load.. and I don't want to write the same code again. If I put function function doosomething Doo something div.class .click doosomething div.secondclass .click doosomething That would run the function on page load rather than only when it clicks. How do I do.. code again. If I put function function doosomething Doo something div.class .click doosomething div.secondclass .click doosomething That would run the function on page load rather than only when it clicks. How do I do this correctly Thanks jquery function..
|