[jQuery] Charset in $.ajax

2009-04-27 Thread Colonel
Is there way to change charset when I request page by $.ajax?

[jQuery] Re: Using jQuery in requested file by $.ajax

2009-04-26 Thread Colonel
Anybody? On 26 апр, 03:37, Colonel wrote: > Is it possible ti use jQuery or JS in file which I get by $.ajax? > > For example, I have a file like this file.php: >  Some text ... >  Some text ... >  Some text ... >   >   - use JS ??? >   >  $("my_conta

[jQuery] Using jQuery in requested file by $.ajax

2009-04-25 Thread Colonel
Is it possible ti use jQuery or JS in file which I get by $.ajax? For example, I have a file like this file.php: Some text ... Some text ... Some text ... - use JS ??? $("my_container").html("Some text ..."); - use jQuery ??? ?> And I use $.ajax from main_file.php: $.ajax({ typ

[jQuery] jQuery installed

2009-04-25 Thread Colonel
How I can check that jQuery is installed (worked)? Another words check the string in section.

[jQuery] Re: Protect page which loaded by $.ajax

2009-04-23 Thread Colonel
ill be shared between the ajax page and the calling > page.  So, if you log in the user somehow and store a session variable > that indicates they are logged in, just check that the appropriate > variable exists. > > On Apr 23, 8:30 pm, Colonel wrote: > > > For example I

[jQuery] Protect page which loaded by $.ajax

2009-04-23 Thread Colonel
For example I have a page: http://mysite.com/content/index.php. On this page I use $.ajax: $.ajax({ type: "GET", data: "data=123456", dataType: 'html', url: "temp.php", error: function(msg) {...}, success: function(msg) {...}, complete: function() {...} }); where temp.php - http://m

[jQuery] Re: Get specific content (from div, p) from $.ajax

2009-04-23 Thread Colonel
Anybody ??? On 23 апр, 04:26, Colonel wrote: > How I can get content from remote file by $.ajax? > > For example I have some file temp.php: > > > >  Test file >   > > >    $id = isset($_GET["ID"]) ? $_GET["ID"] : ""; >  $n

[jQuery] Re: Alternate $.load

2009-04-23 Thread Colonel
text in div header >    $id = isset($_GET["ID"]) ? $_GET["ID"] : ""; >  $number = isset($_GET["NUMBER"]) ? $_GET["LOT_NUMBER"] : ""; >  echo "id =" . $id . ""; >  echo "number = " . $number .

[jQuery] Get specific content (from div, p) from $.ajax

2009-04-22 Thread Colonel
How I can get content from remote file by $.ajax? For example I have some file temp.php: Test file id =" . $id . ""; echo "number = " . $number . ""; ?> Some text in div header - Some text in header2 - and Am using $.ajax: $.ajax({url: 'temp.php', data: "ID=1&NUMBER

[jQuery] Re: Alternate $.load

2009-04-22 Thread Colonel
, load is > normally the way to go, unless you're looking to place the loaded file > before, after, or in between elements rather than inside a placeholder > element. > > On Apr 22, 5:50 pm, Colonel wrote: > > > Is there another way load HTML from a remote file and inject it into > > the DOM (instead of $.load)?

[jQuery] Re: Check $.load ajax request is complete

2009-04-22 Thread Colonel
ple content only from div with id=header2 ? On 23 апр, 02:26, James wrote: > I suggest using the $.ajax() function instead of $.load() as it'll > provide you more options, including success, error and complete (after > success and error callbacks are executed) > > http://docs.j

[jQuery] Alternate $.load

2009-04-22 Thread Colonel
Is there another way load HTML from a remote file and inject it into the DOM (instead of $.load)?

[jQuery] Check $.load ajax request is complete

2009-04-22 Thread Colonel
Is the there way to check ajax request is complete for success? On page: http://docs.jquery.com/Ajax/load#urldatacallback about callback (Optional): The function called when the ajax request is complete (not necessarily success).

[jQuery] Re: Merge 2 divs [jQuery]

2009-04-18 Thread Colonel
ssage: "<h1>Remote call in progress...</h1>"});}); $("#no").bind("click", $.unblockUI);}); // --> What can I do? Thanks. On 18 апр, 19:50, victorg wrote: > It should work. Have you tried it like this? > > $(

[jQuery] Merge 2 divs [jQuery]

2009-04-18 Thread Colonel
Hi all, I have 2 divs. How I can merge this 2 divs (first div I have after $.load like this $("#div1").load("file.php")) by jQuery? I was trying .append, .appedndTo, but it's not working. May be Am not properly trying. $("#div2").append($("#div1")); $("#div2").append($("#div1").html); $("#div2").

[jQuery] Re: Using $.load() and $.blockUI [blockUI.js]

2009-04-18 Thread Colonel
8 апр, 16:35, victorg wrote: > Where in your code are you trying to do this? > > You should use it like this: $("#content").appendTo > ("#itemwherecontentneedstobeappendedto"); > > On Apr 18, 12:42 pm, Colonel wrote: > > > Hi all, > >

[jQuery] Using $.load() and $.blockUI [blockUI.js]

2009-04-18 Thread Colonel
Hi all, how I can add content from div to div? For example, I have code: ..