Ah, of course I don't need the eval :)
However, I did require the document ready, I think because my form is
in a jQuery overlay and the command, specifically, is
location.reload() (i.e. refresh the whole page). Every other jQuery
function I tried worked without the document ready, but for some
re
ah btw my solution was a bit simpler
{{=command}}
no need for document ready since all scripts in Ajax loaded HTML will
be interpreted right away
also no need for eval since the script will be interpreted anyway
On Oct 25, 11:23 am, scausten wrote:
> I've had some success with a very simple wo
yes i did it the same way, somebody with javascript knowledge would be
really helpful, just to know if fetching the header from the iframe is
possible
On Oct 25, 11:23 am, scausten wrote:
> I've had some success with a very simple workaround for web2py-
> component-command. In the form.accepts in
I've had some success with a very simple workaround for web2py-
component-command. In the form.accepts in my SQLFORM, I set a variable
'command', return it, and then in my component's view simply put
{{if command:}}
$(document).ready(function(){
eval({{=command}});
});
{{pass}}
Another bump - has anyone had any further thoughts on how to get
web2py-component-command or web2py-component-flash working with this
code?
On Oct 13, 1:38 pm, selecta wrote:
> *bump*
> sinceuploadforms do not work in web2py components anyway this code
> could be integrated into web2py without th
*bump*
since upload forms do not work in web2py components anyway this code
could be integrated into web2py without the ajaxForm script itself
On Oct 11, 1:35 pm, selecta wrote:
> as I posted before I am trying to fix the issue of ajax uploads
>
> The problem:
> upload fields do not work in ajax
6 matches
Mail list logo