Another "solution" i found on a Blog.
Instead of adding a function to the Plugin, create a seperate object
within the scope of the plugin.
;(function($)
{
$.fn.pluginname = function(options)
{
// private method
function _doSomethingPrivate()
{
Hi,
Wow, thanks to both of you. Wouldn't have thought about such an
construct. Maybe because i'm not that familiar with javascript at all.
Somehow i thought you can't access an object while creating it.
But also the way Balazs was mentioning about jmap looks interesting. I
will have a closer look
Is there realy nobody out there, who can point me into the right
direction?
A link to a tutorial would be already great.
If somebody doesn't understand the question, please tell me, i will
try to explain it further.
Hi @ all,
i have a problem with the understanding of public methods of an
plugin. Specialy how to create and link them to the plugin.
For example:
;(function($)
{
$.fn.pluginname = function(options)
{
var _options = $.extend(
{
Does really nobody got an Idea?
Greets
Martin
Hi,
i encounter problems with the getJSON method
when i do that:
$.getJSON("http://localhost/jas/www/rmt.php5?action=airport_state";,
{country: $(this).val()}, function(json)
{
$.log(json);
});
nothing happends. there is even no connection trace in firebug
but
$.get("http://localhost/
6 matches
Mail list logo