Hi,
I'll try to simplify this problem as much as possible.
I have a program that uses multiple jar files. We'll call two of them 1.jar and 2.jar.
1.jar has objects w,x,y and z.
2.jar has objects y and z.
At runtime the user will decide whether to execute with 1.jar or 2.jar. I compile my...
It's simple enough to obtain the value contained within an xml tag: <xsl:value-of select="NodeNameToGetTheValueFrom">
My question is how do I access and obtain the value of a tag's attribute. For instance:
<!ELEMENT widget (#PCDATA)>
<!ATTLIST widget
MyAttribute CDATA #REQUIRED>
How can...
I'm wanting to turn an xml document into a form page and am wondering how I can apply a default value to a text input field.
Here's how I would do this in HTML:
<input type="text" value="My Default Value">
When displayed in a browser, a text input field would appear with "My Default Value" as...
Thomas,
Thanks very much for the info. I figured there would be a way to do it server side. However, I need the edited file (form input would be fine) to be handled on the user's computer. If there was a way for the doc containing the form input (either html or xml) to send the form data to...
Hi,
I'm working on a project where an XML file is being used to transfer data from one application to another. We want to have an empty template for this file that users can edit (populate the data).
However, we don't want the users editing the xml. Can anyone recommend an editor that...
...it shows up in the alert!
So, again, the bottom line is that the cookie is only visible on the page where it was created.
Some random notes:
*The same function is used to create the enviornmental cookie and the "step 3" cookie.
*I've modified the "sniff" function that's called on each page...
I'm creating two cookies on my web site. One is created on the index page (presumably the entry point, but the javascript function that does this is called "onload" on every page). The other is very specific and is created and added to based on user selections on another page.
On entry into...
Nevermind. Finally found the answer. For others who might ever have this problem, my error was declaring the variables in the .pm file with "my $varName" instead of "our $varName" (for those variables I wanted to be able to view in other files.
Hi,
I'm wanting to do something that seems as though it should be very simple, but a couple of hours on google and reading through several Perl books has not yielded an answer.
I've created a module. The functions (subs) in it are readily accessible, but variables I intend to be global...
...photo and adding it, I can't read it with ImageMagick (or Image::Info, for that matter), but it can be seen on mouseover and selection.
The answer could be that comments created through Windows are exif data... Does anyone have a recommendation for a module to read *and* write exif data...
Though it seems easy to get all of the files within a subdirectory, the name of the directory is important for what I want to do and I would like to get a list of subdirectories and then operate on them (and the files they each contain) individually. Any ideas?
Thanks.
Hi,
I'm dynamically creating a button with the following code:
var commentButton = document.createElement("input");
commentButton.type = "button";
And I wish to have the button do something when it is clicked (as you would with most buttons). How can I do this...
For what reason are you trying to prevent the player from opening? If you want to allow the user to download the file, you would have to put the file into a zip file.
If I understand your question correctly, I can offer you one possible solution.
Specify the size of your table cells:
<td style="width:100">
If you specify in pixels, wrapping will occur automatically.
You can also accomplish this with percentages.
<td style="width:25%">...
I believe you can add scroll bars to a <div>. So put the table in the <div> (or the table rows/columns you want to have the scroll bars). I'm sorry I don't know the exact attribute wording.
Edward,
I had a similiar problem when appending new lines at the end of a string. I found that simply putting a space at the end did the trick (which is essentially what you've done with the "please continue: " phrase.
As for other phrases how about these off the top of my head:)...
I would suggest creating a global variable at the top of your page and setting it to "false." At the bottom of the page (or at the bottom of the form) set the variable to true. Then, if the global variable's name is, for instance, frmIsLoaded, you could do:
if (frmIsLoaded)
{...
As an attribute for the <textarea> tag, include this:
wrap="hard"
This will allow for line breaks to be automatically inserted when the user enters and in the text string sent to the results file.
I've switched jobs and computers, so I no longer have FP at work, so I'm sorry I can't...
The only way you can bring up a "save" dialog is with a file that cannot be opened/read by the browser. So the one sure way to get a "save" dialog is to make your file a zip file.
If you are merely passing the filename to another script, perhaps it (the filename) could be...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.