[jQuery] ajax load

2009-06-27 Thread Peter Marino
hi, when I use the $(.main_view).load( my.php ); all my danish letters are rendered wrong. is there something I need to do in the my.php to make sure it shows the danish characters correctly? anyone? Peter -- Power Tumbling - http://www.powertumbling.dk OSG-Help - http://osghelp.com

[jQuery] creating a visual frame using jquery

2009-06-23 Thread Peter Marino
Hi jQuery, i'm trying to create a visual frame. My attempt can be seen here: http://www.medlemmer.net/test/test_panel_basics.php I use jQuery to resize the left and right div to the correct height, I can see the result is correct. my question is why do I get gaps at the bottom... it seems to

[jQuery] Re: creating a visual frame using jquery

2009-06-23 Thread Peter Marino
, don't waste outer container. You'll definitely appreciate it when page size increases Peter Marino wrote: Hi jQuery, i'm trying to create a visual frame. My attempt can be seen here: http://www.medlemmer.net/test/test_panel_basics.php I use jQuery to resize the left and right div

[jQuery] Re: creating a visual frame using jquery

2009-06-23 Thread Peter Marino
know there are many rounded corner plugins, but usually you don't need to use them. - Liam Peter Marino wrote: Hi, I would really like to do as you mention... I have my forms using rounded corners from jquery and it's super cool but these panels I create have shadows on them too

[jQuery] when is what ready?

2009-06-22 Thread Peter Marino
Hi jQuery, I assumed when I used the $(function() { alert( hello ); }); that the page was finished loading? but what I see is that the popup alert comes before my images on my page are finished loading? is this correct? I need to do something to my page when everything is done loading.. how

[jQuery] Re: cloning ajax

2009-06-18 Thread Peter Marino
, there will be conflicts, especially with Javascript coding. On Jun 16, 8:24 pm, Peter Marino marino.pe...@gmail.com wrote: Hi jQuery, when I clone a div that contains input fields with ajax then the cloned version will not do any ajaxing? is this normal? btw: I do use clone( true ) regards, Peter

[jQuery] cloning ajax

2009-06-17 Thread Peter Marino
Hi jQuery, when I clone a div that contains input fields with ajax then the cloned version will not do any ajaxing? is this normal? btw: I do use clone( true ) regards, Peter -- Power Tumbling - http://www.powertumbling.dk OSG-Help - http://osghelp.com

[jQuery] ajax error handling

2009-06-14 Thread Peter Marino
Hi jQuery, I'm using the $.ajax method and when this errors I react to the error event within and dump the XMLHttpRequest, textStatus, errorThrown to get an idea of what when wrong... but the most common message is parse error which doesn't help me that much. what is going wrong is that on the

[jQuery] Re: ajax error handling

2009-06-14 Thread Peter Marino
= {}; Params.ID = 4; Params.Name = Steve; AjaxGet( some url, Params, function(json) { //with success, 'json' is my result } function(x,y,z) { //on error, x.responseText has the server error result } ); hope that helps On Jun 14, 12:31 pm, Peter Marino

[jQuery] ajax start stop of multiple animations

2009-06-12 Thread Peter Marino
Hi jQuery, I have successfully got my ajax working. I'm now in the processing of put an animation gif on the site to show it's sending/retrieving date via. ajax. my problem is that I have multiple ajax calls on the same page.. and I want each call to be represented by a unique gif animation. I

[jQuery] jquery ui Datepicker

2009-06-11 Thread Peter Marino
Hi jquery, i've just tried the datepicker an it's very nice. http://jqueryui.com/demos/datepicker/ I can see if I add an ID to an input tag that the input tag gets update with the date selected in the datepicker. my question is I have 3 input tags one for day, month and year. is it possible when

[jQuery] Re: simple(fy) data count

2009-06-06 Thread Peter Marino
super.. that's a step in the right direction thank you On Fri, Jun 5, 2009 at 11:30 PM, Gustavo Salomé gustavon...@gmail.comwrote: $count=$(.div_count); var clone_count =!$count.('data') ?1:$cont.data('clone_count')+1; $count.data('clone_count',clone_count); 2009/6/5 Peter Marino marino.pe

[jQuery] Re: simple(fy) data count

2009-06-06 Thread Peter Marino
:$cont.data('clone_count')+1; $count.data('clone_count',clone_count); 2009/6/5 Peter Marino marino.pe...@gmail.com Hi jQuery, I have the following: if ( $(.div_count).data(clone_count)==undefined ) { $(.div_count).data( clone_count, 1 ); } else { $(.div_count).data( clone_count, $(.div_count

[jQuery] simple(fy) data count

2009-06-05 Thread Peter Marino
Hi jQuery, I have the following: if ( $(.div_count).data(clone_count)==undefined ) { $(.div_count).data( clone_count, 1 ); } else { $(.div_count).data( clone_count, $(.div_count).data(clone_count)+1 ); } var clone_count = $(.div_count).data( clone_count ); is there any method that can do this a

[jQuery] Re: json indexing not working for me

2009-06-03 Thread Peter Marino
Hi Jakob, if I understand the documentation the type parameter is used to tell jQuery how you want to have the data received on the server side. The dataType tells jQuery what kind of data you will be transmitting. (unless I have totaly mis understood it and that would explain my 30 hours of

[jQuery] Re: json indexing not working for me

2009-06-03 Thread Peter Marino
at 4:19 PM, Peter Marino marino.pe...@gmail.com wrote: Hi Jakob, if I understand the documentation the type parameter is used to tell jQuery how you want to have the data received on the server side. The dataType tells jQuery what kind of data you will be transmitting. (unless I have totaly

[jQuery] Re: json indexing not working for me

2009-06-02 Thread Peter Marino
I wish I could tell you.. I don't have any way of dumping the return json results.but I do know if I do a json.member I get a valid object but json.member.name is invalid? it would seem that this is the reason its not working but why? server side: ?php $arr = $_GET; $myjson = json_encode($arr);

[jQuery] Re: json indexing not working for me

2009-06-02 Thread Peter Marino
:) yea. working on that now trying to create a way I can debug this on the server - peter On Tue, Jun 2, 2009 at 10:04 AM, Steven Yang kenshin...@gmail.com wrote: sorry i am not too familiar with phpput i guess $arr or $_GET is all the parameters you get from the GET request. can you simply

[jQuery] json format

2009-06-01 Thread Peter Marino
Hi jQuery, I'm very new to the json stuff (so warned)... when I try the following: var data = { member : { name : Peter Wraae Marino } } $.ajax({ url: http://localhost/test/gui/ajax_member.php;, type: GET, data: data, cache: false, dataType: json, success: function(msg){ alert( msg ); },

[jQuery] json reading data on server

2009-06-01 Thread Peter Marino
Hi jQuery, I'm trying to learn the json and ajax I have with success sent data over to the server in json now my question is how does one process this data on the server side? client side: var data = { member : { name : Donald Duck } } $.ajax({ url:

[jQuery] Re: json reading data on server

2009-06-01 Thread Peter Marino
then this function will probably help json_decode more information: http://www.php.net/manual/en/function.json-decode.php On Jun 1, 2:26 pm, Peter Marino marino.pe...@gmail.com wrote: Hi jQuery, I'm trying to learn the json and ajax I have with success sent data over to the server in json now

[jQuery] json indexing not working for me

2009-06-01 Thread Peter Marino
the basics: php, jquery, javascript server side ajax_member.php (bascially try to send what I get back to the client,.. for testing!!!) ?php $arr = $_GET; $myjson = json_encode($arr); echo $myjson; ? client side: var data = { mybutt : is so big!, member : { name : Donald Duck } } $.ajax({ url:

[jQuery] jquery json

2009-05-31 Thread Peter Marino
Hi jQuery, I've just found out the existence of json... and apparently there should be a jquery json script somewhere.. where? think it's called jquery.json.js I would like to download it from the site that created it. regards, Peter -- Power Tumbling - http://www.powertumbling.dk OSG-Help -

[jQuery] matching full names when querying

2009-05-28 Thread Peter Marino
Hi jQuery people, I just found out that jQuery can match on partials,.. is this correct? and if so how do I make it match on the whole text. i.e. div id=myID class=myDiv / doing a $(.myDiv, #my) will actually match the above tag! is this correct? if so how do I force it to match the whole myID

[jQuery] find reverse

2009-05-27 Thread Peter Marino
Hi jQuery Group, is it possible find a node backwards instead of forwards. i.e. div id=test0 div id=findme / div now I would like to do (remember find_reverse does not exist) $(#findme).find_reverse(#test0); is there any method to do a find_reverse??? regards, Peter Wraae Marino -- Power

[jQuery] Re: find reverse

2009-05-27 Thread Peter Marino
27, 2009 at 9:19 AM, Peter Marino marino.pe...@gmail.comwrote: Hi jQuery Group, is it possible find a node backwards instead of forwards. i.e. div id=test0 div id=findme / div now I would like to do (remember find_reverse does not exist) $(#findme).find_reverse(#test0); is there any

[jQuery] Re: find reverse

2009-05-27 Thread Peter Marino
hi, did not see the parents() method before now.. it does look this is what I need.. will check when I get home from work... thanks peter On Wed, May 27, 2009 at 4:49 PM, M.M. mario.maru...@gmail.com wrote: On May 27, 2:19 pm, Peter Marino marino.pe...@gmail.com wrote: Hi jQuery Group

[jQuery] Re: scrollUp and scrollDown mis-aligning text on IE

2009-05-26 Thread Peter Marino
to create extra contacts too. creating such a form has shown itself to be very complicated, perhaps there is something like this already created? can anyone point me in the right direction? regards, Peter On Mon, May 25, 2009 at 1:57 PM, Peter Marino marino.pe...@gmail.comwrote: Hi all, I'm still

[jQuery] Re: scrollUp and scrollDown mis-aligning text on IE

2009-05-25 Thread Peter Marino
Hi all, I'm still stuck on this problem? is the code too complicated? regards, Crisium On Sun, May 24, 2009 at 7:08 PM, Crisium marino.pe...@gmail.com wrote: Hi jQuery, I have created a little demo here: http://marino.dk/test_a/ when you add a contact a new one scrolls down..you have the