Well, almost. I want to send a large amount of plain text generated by
my js script to a Perl program on a server.
I can't find any straightforward way to call a Perl script from js, but
a brute force way might be to have an onsubmit function run when the
user clicks a button, have it create a textarea node, write everything
to it, return true from the function which will let the href on the
submit button invoke the .pl file, which of course will get all textarea
text. Or something like that.
If I have to do the above, and if it causes a big flash, is it possible
to write to an iconfied window and have it do the same thing?
I was hoping for something simpler.
Thanks in advance for any suggestions. 1 1377
Richard Trahan wrote: Well, almost. I want to send a large amount of plain text generated by my js script to a Perl program on a server.
I can't find any straightforward way to call a Perl script from js, but a brute force way might be to have an onsubmit function run when the
onsubmit is used to verify the data and decide whether to proceed to submit
- it does not submit the form (you need form.submit() for that). If I have to do the above, and if it causes a big flash, is it possible to write to an iconfied window and have it do the same thing?
Wouldn't it be simpler to put the iframe in a hidden div? BTW although you
can't GET "a large amount of plain text", you can point the iframe to a
form with a POST method, copy the data into the form and submit it.
Javascript in the 'action' url can update values in the parent of the
iframe.
There is a javascript/PHP RPC package out there (which does the above more
or less).
HTH
C. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Paolo Losi |
last post by:
Hi all,
I'm pretty new to the python language so please excuse me
if this is FAQ... I'm very glad to be part of the list! :-)
I'm looking into a way to implement a generic workflow framework with python.
The basic idea is to use python scripts as the way to specify workflow
behavior. The framework should not only use scripts as a specification language
but is going to leverage on python interpreter for the execution of the
scripts.
One...
|
by: object-relational persistence mapping |
last post by:
Someone can tell me where I find a good Object-Relational Mapping library.
|
by: Marcel Balcarek |
last post by:
Hello,
I have a page (page1.aspx) that builds some complex .NET objects.
I successfully pass these objects to another different window (page2.aspx).
How can I persist these objects on a POST back of the same window
(page2.aspx)?
Thank you
Marcel
|
by: Jo Inferis |
last post by:
So, I'm using a 3rd party com object via interop (already I can hear screams
of anguish). This object was originally written to be used as the backend
for multiple screens of a VB application. Now in this situation the object
remains in memory the whole time, so persistence of data between screens is
not a problem, but on the web I'm assuming (from previous experience) that
we'll need to use Load and Commit methods on this object - where...
|
by: Chris Spencer |
last post by:
Before I get too carried away with something that's probably
unnecessary, please allow me to throw around some ideas. I've been
looking for a method of transparent, scalable, and human-readable object
persistence, and I've tried the standard lib's Shelve, Zope's ZODB,
Divmod's Axiom, and others. However, while they're all useful, none
satisfies all my criteria. So I started writing some toy code of my own:
http://paste.plone.org/5227
...
| |
by: Robert |
last post by:
I am trying to persist an instance specific object without using a session
object. Is this possible?
For example:
Class object: Car
Properties: Make, Model
Car.Make = Ford
Car.Model = F150
|
by: Peter Richardson |
last post by:
Hi,
I'm wondering if someone can help me with some design questions I have. I'm
trying to create a class in C# to represent my customers. I know how to
create teh Customer class and all, but my problem comes with some conceptual
issues I have:
Let's say I have a business layer and a data layer. I use a seperate
assembly to host the business objects that I pass from one to another. That
is, I have for example:
|
by: =?ISO-8859-1?Q?Lasse_V=E5gs=E6ther_Karlsen?= |
last post by:
I get the above error in some of the ASP.NET web applications on a
server, and I need some help figuring out how to deal with it.
This is a rather long post, and I hope I have enough details that
someone who bothers to read all of it have some pointers.
Note, I have posted the stack trace and the code exhibiting the problem
further down so if you want to start by reading that, search for +++
Also note that I am unable to reproduce...
|
by: Bill McCormick |
last post by:
I'm looking for the best (easiest, cheapest, fastest, most flexible) way
to implement object persistence in .NET 3.5.
The object data is native XML, so serialization is a good option as well
as SQL Server.
In memory objects will have a state modifier that indicates some sort of
progress on the object. In a file-system persistence solution, the state
modifier would place have the object move through some number of
different folders....
|
by: myusernotyours |
last post by:
Hi all,
Am trying to create a Java Desktop App that uses Java Persistence in Netbeans.
The database is MS Access but I tried with Mysql and got the same error.
When I run the app( Create the entity manager), I keep getting the following...
Exception in thread "AWT-EventQueue-0" javax.persistence.PersistenceException: No Persistence provider for EntityManager named ReceiptingPU: The following providers:...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
| |
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
| |
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |