In Firefox, the inputs line up in the columns of 4, but IE just shows everything in 1 column. How can I get it to look right in both?
Here's the html:
<html>
<head>
<script type="text/javascript" >
var counter=0;
function createDiv()
{
var divTag = document.createElement("div");
var...
I'm submitting them via a form, then trying to view the data with php, but I'm not seeing the data I enter into the inputs. Is the data saved as a multi-demensional array in $_POST? ($_POST[Ename[]] maybe?) For all the other pages of the application (which are just simple forms) I place all the...
Still having some trouble with it, the function is called from a button. It's part of a web application, each div that's called is for a previous employer. Here's what I have now:
var counter=0;
function createDiv()
{
var divTag = document.createElement("div");
var...
Alright, I think I'm going to stick with the innerhtml since I can't get the other way to work quite how I want it to. How can I make it so that the inputs in the innerHTML are created as arrays, or how can I add a counter to add a number to the end of each one? For example, if I created 2...
Here's the function I have to create a div with some text inputs in it. I believe the use of innerHTML has been deprecated (or maybe just frowned upon) so I was wondering how I could do it with createElement or something, I would also like to put the inputs into an array for each, e.g. Ename[]...
Works like a charm! Once again, I'd like to say: You're awesome Feherke! Thanks a bunch. Every I've come to this site looking for regex help(1 other time in the AWK forum I believe) you've come to the rescue and I sincerely appreciate it.
Thanks Feherke,
I'll be sure to use the TGML tags from now on.
That's almost there, but it's capturing the rate and I need to capture the float found after that one, (197.38 and 41.12 from the example text on the first post.)
Whoops, forgot some of it. Here it is in it's entirety:
re1='.*?'; # Non-greedy match on filler
$re2='(?:[a-z][a-z]+)'; # Uninteresting: word
$re3='.*?'; # Non-greedy match on filler
$re4='((?:[a-z][a-z]+))'; # Word 1
$re5='.*?'; # Non-greedy match on filler...
I tried an online regex creator which gave me this:
if ($c=preg_match_all ("/".$re1.$re2.$re3.$re4.$re5.$re6.$re7.$re8."/is", $FSCtmp, $matches))
{
$word1=$matches[1][0];
$float1=$matches[2][0];
print "($word1) ($float1) \n";
}
{
$word1=$matches[1][0]...
I need to find all instances of some numbers in a bunch of text files, here's an example pulled from one of the text files:
00 CX76959 01 3/03 Del Rio TX Nogales AZ 768 1.065 185 .810 967.77 03
00 CX76959 01 3/09 FSC Ml: 768...
Also seems to be adding a single space to the end of every field but the second (company name) But that's not a major issue. I'd like to thank you again for your exceptional help, so...Thank you!
The last one is essentially perfect, thank you kindly!!! Regarding the spaces issue, every line has 2 spaces after the symbol before the comma
example:
ACAD ,ACADIA PHARMACEUTICALS INC,-0.19 ,n/a ,-0.38 ,9-Mar AMC
I've attached a copy of an output file (named awktest.txt). I'm using whatever awk comes standard on ubuntu, I'm guessing it's gawk. The spaces issue really isn't a big deal, but is there anyway to exclude all the lines where the symbol (first field) has a '.' in it? Included in the share...
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.