Page is a not externally linkable
LinusIT - 5:36 pm on May 29, 2012 (gmt 0)
That works great, awesome. I've learnt really well from this thread, so thank you.
One last thing though :)
The thing I'm working on is similar to a bank statement, showing in and out figures but only one on each line. As you'll see from my code if $in or $out = 0 it displays nothing, keeps it nice and tidy.
When I update a row now, I get the pound sign in both columns until I refresh the page.
I've written this little bit of code thinking it would work but it doesn't.
if (html.inn >= 0) {
$("#in_"+ID).html("Right £" + inn);
}
else
{
$("#in_"+ID).html("Wrong " + inn);
}
As an example when I update a row I end up with "Wrong 3.00" (3.00 being what I typed in).
I hope I've made sense of this last problem and it can be tweaked. If not then I'll have to choose between having the £ sign on update or not.