[jQuery] Re: Plugin developement

2008-09-05 Thread mwk
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() {

[jQuery] Re: Plugin developement

2008-09-03 Thread mwk
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

[jQuery] Re: Plugin developement

2008-09-02 Thread mwk
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.

[jQuery] Plugin developement

2008-09-01 Thread mwk
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( {

[jQuery] Re: $.get and $.getJSON

2008-01-31 Thread mwk
Does really nobody got an Idea? Greets Martin

[jQuery] $.get and $.getJSON

2008-01-30 Thread mwk
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/