Thank you, I'm an idiot, apparently. I don't know why i assumed the scale was 9, i probably should have checked and saved myself a couple hours of banging my head on the desk.
or i guess it might be the head banging that made me assume..
anyways.. thanks
aschuster@sftsolutions.com
i think instead of using replace, you want to split the field.
var reg = /\n/g;
y = document.getElementById("download").value
var str;
var y = x.split(reg);
for(var i = 0; i < y.length; i++)
{
str += ",'" + y[i] + "'<br>"
}
document.getElementById('textFileCOntentsOnPage').innerHTML = str...
Hi,
I'm having a very frustrating problem. I am trying to update a decimal field, scale 9, precision 18 , with an update statement. something along the lines of:
update table set field = 4.5 where id = 12
anyways, the decimal is being rounded, for some ungodly reason. I really don't think...
when i'm debugging, all the data i'm expecting is there. it's just the when i send something like "LADAM", the string will end up like this:
insert into print_users (cc_index,ip,uid) Values(1,'127.0.0.1:8456','ADAM
this has been driving me insane.. i've been trying to get it working...
i've been having a problem that doesn't make any sense to me. i've been trying to put a variable in a string, but, the string always cuts off at the end of the variable..
i hope someone has had this problem before and can help me out. the variable i'm trying to put in the string is a substring...
ModalDialog's have a return value. you script what the return value is in the dialog box and it returns it to a variable in the opener luciddream@subdimension.com
you can do this with your webserver, most likely and more easily, but... but, the only way to do this would be to call a function that checked the link in a hidden iframe, then using the onreadystate== "complete" property of the iframe, you could check the page once its done loading...
call a function on the onclick of the checkbox.
function checkbox_onclick()
{
document.formname.elementname.onfocus = function(){this.blur()}
} luciddream@subdimension.com
there is some software you can use to use ASP on linux... chiliSoft is one, there are a few more, but i dont remember what they are.
plus... there's always perl. luciddream@subdimension.com
it would be
document.forms[index].elements[index].style.color = 'red';
and no, it wont work if its disabled... atleast the text color wont change. but,
document.forms[index].elements[index].style.backgroundColor = 'red';
will work luciddream@subdimension.com
well, you can do it like so:
$string = 'blah';
$len = length($string);
for($i = 0; $i < $len; $i++)
{
$letter = substr($string, $i, 1);
} luciddream@subdimension.com
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.