1 (edited by qwertyuiop 2013-03-03 17:02:14)

Topic: Perduoti faila per ajax

Sveiki, turiu forma per kuria galima pasirinkti paveiksleli. Kaip perduoti per ajax ta paveiksleli gal zinote?

$.ajax(
{
cache:false,
type:"POST",
url:"psl.php",
data:kazkokia_data,
success:function(html)
{
     alert('pavyko');
}
});

Taciau paties failo nepavyksta niekaip perduoti


Deprecated: Function create_function() is deprecated in /home/pasokime/domains/mysql.lt/public_html/forumas/include/parser.php on line 811

Deprecated: Function create_function() is deprecated in /home/pasokime/domains/mysql.lt/public_html/forumas/include/parser.php on line 811

Deprecated: Function create_function() is deprecated in /home/pasokime/domains/mysql.lt/public_html/forumas/include/parser.php on line 811

Deprecated: Function create_function() is deprecated in /home/pasokime/domains/mysql.lt/public_html/forumas/include/parser.php on line 811

Deprecated: Function create_function() is deprecated in /home/pasokime/domains/mysql.lt/public_html/forumas/include/parser.php on line 811

Deprecated: Function create_function() is deprecated in /home/pasokime/domains/mysql.lt/public_html/forumas/include/parser.php on line 811

Deprecated: Function create_function() is deprecated in /home/pasokime/domains/mysql.lt/public_html/forumas/include/parser.php on line 811

Deprecated: Function create_function() is deprecated in /home/pasokime/domains/mysql.lt/public_html/forumas/include/parser.php on line 811

Deprecated: Function create_function() is deprecated in /home/pasokime/domains/mysql.lt/public_html/forumas/include/parser.php on line 811

Deprecated: Function create_function() is deprecated in /home/pasokime/domains/mysql.lt/public_html/forumas/include/parser.php on line 816

Re: Perduoti faila per ajax

o google nieko nepavyko rasti? :)
http://goo.gl/9jYTb

var_dump(0 == 'tekstas'); // TRUE. ar zinai kodel? :)

Re: Perduoti faila per ajax

Vienas būdas yra pasinaudoti File API, o kitas yra pasinaudoti iframe. O taip tiesiog per ajax su visomis naršyklėmis duomenų perduoti nepavyks.

MongoDB Certified Developer
MongoDB Certified DBA
Zend Certified Engineer

Deprecated: Function create_function() is deprecated in /home/pasokime/domains/mysql.lt/public_html/forumas/include/parser.php on line 756

Deprecated: Function create_function() is deprecated in /home/pasokime/domains/mysql.lt/public_html/forumas/include/parser.php on line 811

Deprecated: Function create_function() is deprecated in /home/pasokime/domains/mysql.lt/public_html/forumas/include/parser.php on line 811

Deprecated: Function create_function() is deprecated in /home/pasokime/domains/mysql.lt/public_html/forumas/include/parser.php on line 811

Deprecated: Function create_function() is deprecated in /home/pasokime/domains/mysql.lt/public_html/forumas/include/parser.php on line 811

Deprecated: Function create_function() is deprecated in /home/pasokime/domains/mysql.lt/public_html/forumas/include/parser.php on line 811

Deprecated: Function create_function() is deprecated in /home/pasokime/domains/mysql.lt/public_html/forumas/include/parser.php on line 811

Deprecated: Function create_function() is deprecated in /home/pasokime/domains/mysql.lt/public_html/forumas/include/parser.php on line 811

Deprecated: Function create_function() is deprecated in /home/pasokime/domains/mysql.lt/public_html/forumas/include/parser.php on line 811

Deprecated: Function create_function() is deprecated in /home/pasokime/domains/mysql.lt/public_html/forumas/include/parser.php on line 811

Deprecated: Function create_function() is deprecated in /home/pasokime/domains/mysql.lt/public_html/forumas/include/parser.php on line 816

Re: Perduoti faila per ajax

skuelas wrote:

o google nieko nepavyko rasti? :)
http://goo.gl/9jYTb

puse dienos prie google prasedejau ir vistiek sudas gavosi :D

Re: Perduoti faila per ajax

Na, siaip ne taip pasidariau, dekui :)