blake.anderton at gmail.com
Wed Jul 18 03:29:27 CEST 2007
within psp code?
I'm aware of how to do the reverse of this (js_var='<%=psp_var%>').
Here's a non-working example of what I'm trying to do:
- - - (begin example) - - -
a = confirm('Are you sure you want to delete '+txt+'?')
//The problem is getting the value of js variable 'txt' recognized in
os.remove( os.path.join(os.path.dirname(req.filename), '../notes/'+
- - - (end example) - - -
FYI, I've already found a workaround for the above example (by placing
a "get" variable in the URL, reloading the page, and having psp check
for the existence of that variable before proceeding with deleting the
appropriate file) but I'd still like this general capability for
future projects. I've searched several forums, websites, etc. and
answer has aluded me for two days now. I'm new to apache, mod_python,
Since this is my first post on google groups, I'd also appreciate any
helpful suggestions on how to best go about getting answers quickly
(so let me know if there's a more appropriate forum/method/etc.)
Thanks for any help you can provide.
(This is copied from a message I originally posted to the mod_python
More information about the Python-list