Hi!
If i have a file upload input in my form, after submit the html codes
in the response data converted to their entities:
http://bogex.hu/jquery_upload_test.php
How can I prevent this?
Thank you!
Lay
Hello!
On Wed, Feb 17, 2010 at 5:56 PM, Randall Morgan rmorga...@gmail.com wrote:
Are you using a Php framework? If so, does it do output filtering? If
not, can you show me your Php code?
It's a simple PHP code, without any framework. The source code
visible, you can simply copy, and check it
Hello!
How can I determine the response type (text/html, text/javascript,
etc.) in the Form Plugin's success callback? The callback recognize 3
parameters, the first is the data, second is the status, and third is
an object with lots of properties. I mean the response type can be in
this object,
Hello!
On Wed, Aug 26, 2009 at 9:04 PM, Mike Alsupmal...@gmail.com wrote:
Kostya is correct. Try embedding the response in a textarea element -
the plugin will automatically extract if for you and no escaping is
needed.
This don't works, because response embedding in a textarea only needs,
Hello!
On Mon, Aug 24, 2009 at 9:46 AM, kostjazzme.russ...@gmail.com wrote:
Hi All,
I also experience the very same problem.
I also found that when it happens it submits the form twice.
For me not need to submit twice the form, only one submit enough to
produce the error.
I haven't
Hello!
I'm using jQuery Form Plugin to upload files, and i discovered a
strange issue. If the response data contains jQuery code, a $ is not
defined javascript error occured, but the jquery code which produce
this error message, is executed. This only happens when file is
selected. If the file
Hello!
I used this little code to replace some content with jquery:
script type=text/javascript
function Csere() {
$('#lufi').replaceWith('Duma');
}
/script
p11script type=text/javascript id=lufiCsere()/script22/p
This works fine, but i'd like to eliminate the id attribute
Hello!
I read in the documentation, the special characters like ':', we must
escape with TWO backslashes. But not always:
script type=text/javascript
function Nyom() {
if ($('#pipa\\:x').is(':checked')) {
$(':checkbox[id^=pipa\:x\:]').attr('checked','checked');
}
Hello!
On Wed, Mar 25, 2009 at 6:00 PM, Karl Swedberg k...@englishrules.com wrote:
Hi Lay,
You could do it like this:
$('table').filter(function() {
return this.style.tableLayout == 'fixed';
});
Not sure what happens when you try it in a browser that doesn't support the
tableLayout
Hello!
I'd like to set a css property on every table, that have
style=table-layout: fixed attribute. I tried this, but don't works:
$('table[style=table-layout: fixed]').css('background-color','#DD');
With id attribute works:
$('table[id=mytable]').css('background-color','#DD');
But
Hello!
I'd like to use $.getJSON with JSONP support, but i used
http://example.com/xxx/yyy URL sheme instead of
http://example.com/index.php?a=xxxb=yyy. I read in documentation, in
the 'myurl?callback=?' syntax the ? replaces to the callback name. I
tried this: http://example.com/xxx/yyy/? but
Hello!
On Sat, Jan 17, 2009 at 7:04 PM, jQuery Lover
ilovejqu...@gmail.com wrote:
I am not 100% sure, but I remember reading somewhere that jQuery looks
for =? to replace the ? part of the pattern.
Try querying
http://example.com/xxx/yyy/=?
Yes, this works! But need some trick, because
Hello!
On Sun, Dec 28, 2008 at 5:42 AM, Daniel dqmin...@gmail.com wrote:
should be $(document).ajaxSend(function(){...})
It's works, the callback fires only once. Thank you!
Lay
Hello!
I need a callback to be executed, when any ajax request begins. I used
this code:
var cnt=0;
$('*').ajaxSend(function() {
cnt++;
});
function Teszt() {
$.post('jquerytest.php');
alert(cnt);
}
When i call function Teszt(), the alert shows '6'. Why?
Hello!
On Sat, Dec 27, 2008 at 7:48 PM, Michael Geary m...@mg.to wrote:
Try something like $('body').ajaxSend(...) if you want just a single
callback.
I tried your suggestion, but never fires the callback.
$.ajaxStart(function(){
$(#loading).show();
});
First i tried this
Hello!
On Sat, Dec 27, 2008 at 8:27 PM, Michael Geary m...@mg.to wrote:
Well, that's odd that it didn't work. Try a single element by ID then:
$('#someExistingID').ajaxSend(...);
Trying, don't works. Here's my test page:
http://bogex.hu/jquerytest.php
Hello!
Is there any way in jQuery to test if a input value is blank? I mean
similar like:
if ($F('szoveg').blank()) {
...
}
in prototype. With jQuery now i'm using this:
if ($('#szoveg').val()=='') {
...
}
but this not test if a input contains only whitespaces.
Bye!
Lay
Hello!
On Sun, Dec 21, 2008 at 3:09 PM, Kean shenan...@gmail.com wrote:
Well blank() was not created in jQuery.
You can create a new function for jQuery like this.
(function($){
$.fn.blank = function(){
return $.trim(this[0]).length == 0;
}
})(jQuery)
input id=one value=sadf /
18 matches
Mail list logo