I'm using Saxon 9 to analyze invalid html sources. Specifically the html has href values like the following:
<a href="blah.asp?fn=view&g_varID=1234">some text</a>
I'm getting errors:
"Error reported by XML parser: The reference to entity "g_varID" must end with
the ';' delimiter."
The xml parser is reading the "&g_varID" string and...
Hi,
I need to make a div layer so that when you click on it you will have your cursor there blinking and you can insert/delete text just like <input type="text"> does, except that I do not want to use it as it is slightly too limited to my case.
I can definitely use JavaScript.
...
So the good old HTML file uploader tag only presents a browse button (without associated text input) when rendered in a HTML based Adobe AIR application. Upon clicking the browse button, nothing seems to happen. I would expect a popup window so I can select a file. I've seen examples of people using Javascript to call the AIR runtime...
What is the best character to use to delimit user input?
For example if a user has an infinite number of textboxes to type things into, but each textbox's value will be concatenated into a single database field, what is the safest character to delimit each input?
I think it should be a character not on your typical keyboard. Is there a...
In shells like the interactive python shell, you can usually use the arrow keys to move around in the current line or get previous commands (with arrow-up) etc.
But after I ssh into another machine and start python there, I get sessions like:
>>> import os
>>> ^[[A
where the last character comes from arrow-up. Or, using arrow-left:
...
Just out of curiosity, how does iostream access the input-output system. (I have a bad habit of constantly reinventing the wheel, and I'm wondering if I can build a custom input-output system to the likes of iostream).
...
I don't really know where to begin. Let's start with the stupid questions:
What language should I use for this? What is suited for the task at hand?
Next, the real ones:
Is there a way to stop the screensaver from starting, short of changing the cursor position? If not, will changing the cursor position even work?
...
And I know there's std::cin, but that requires the user to enter a string, then press ENTER. Is there a way to simply get the next key that is pushed without needing to press ENTER to confirm
...
How do you load a URL from a text box into iframe in a HTML file via javascript?
...
I have code that runs that gives me the error : Could not find a 'INPUT (text password textarea hidden) or TEXTAREA' tag containing attribute name with value ________ (It's testing a website)
It says it can't find a
What reason could it be that it can't find it? It finds others without an issue on other pages, but this page for s...
I have an INPUT text box.
As someone types into the INPUT text box, i need it to append/add-to a TEXTAREA value.
Lets say user types '12345' into the text box.
The textarea (default value="Comment: ") will automatically add: 'Comment: 12345'. Adding '12345' as they type.
...
How do I put an icon inside a form's input element?
Tidal Force theme
Got me?
...
Is there a quick way or function that would tell me true/false if all check boxes are deselected? Without going through array? (with JS and HTML)
All my check boxes have the same name...
<form action="/cgi-bin/Lib.exe" method=POST name="checks" ID="Form2">
<input type=checkbox name="us" value="Joe" ID="Checkbox1">
<input type=c...
This is with reference to the below question
http://stackoverflow.com/questions/70842/execute-program-from-within-a-c-program
How do I do the same on windows with Tiny C Compiler?
I need to execute a .exe fro c program and give input to it from within the same C program by using a file or string as source and read the output from it into...
Hello,
Having a very strange issue with a few creative banners. On some computers when you type in an input box for an email field instead of the @ symbol you get the " symbol. It is almost as though the keyboard has the wrong language set. This isn't the case though, they are all se to UK.
I'm thinking it could be an issue with embedd...
Is there a way to remove Form input/select values when you hide a div?
Example: Let say i have a form that i fill out. I have a couple different choices, each one will show a different div with a different form and hide the rest. But when i submit, it still submits those form values, even when the div is hidden.
Is it possible to remov...
As I understand, width/padding/margin properties only work on block level elements. However, on INPUT and SELECT elements I am able to specify the width, which works. Should it?
I could write something like this:
<input type="text" style="display:block;" />
But is it necessary?
Can anyone explain please why it works?
...
I'm trying to filter out all possibilities of XSS from user name input while still allowing for foreign names to be inputted.
What is the best way to white-list all word-characters in multiple languages (also Chinese and Japanese and Russian)?
Is this possible at all? It would be easy to create a blacklist for XSS with "<>><" but...
What is a method to detect if NumLock is OFF and how to turn it always back ON automatically when my VB APP is running ?
EDIT:
My app is dedicated app, running on dedicated computer with external numpad device.
another option would be to ACCEPT NUMPAD ARROW KEYS (etc) and convert these to NUMBERS on fly, is it possible?? (e.g. ignor...
Is is possible to use the password element in html input type="password" in a mode whereby one dosn't show the characters types as asterixes/circles but as spaces/nothing so noone would know the length of the password.
...