I ahve set up some calculations using javascript code, but to my horror it displays way too many decimal places, how can i resrict the calculations result to 2 decimal places?
This is the snippet of code i am using!
function dm(amount)
{
string = "" + amount;
dec = string.length -...
Does anyone know of script or places where i can investigate about script that will create a collapsible menu structure preferably with images, that is useable in all browsers?
i have found 1 or 2 but they seem to not like working in certain browser!
Any Help would be appreciated
I have recently been researching using JS to create expandable sections within a form and have come across a fairly simple example and ahve been testing it and playing about with it but i noticed when cross browser testing that there were slight errors for some reason! I shall post the code and...
I have just setup an HTML form that uses javascript to total up prices etc and add on vat.
I have come across a slight snag though! the total is not restricted to 2 decimal places.
How do i do this?
the code that performs the calculations is as follows:
<script language=javascript>
<!--//...
I ahve just created a web forum using PHP & MySQL, it is only a basic forum and i am now trying to change to look of it etc.
I have been playing about with some code to try and alternate the colour of the posts as the appear on the screen, say the first will be a pale blue and the next will be...
Recently something very strange has started happening when i try to upload certain pages using dreamweaver.
I choose one page to upload and it uploads fine, GREAT, but then i try and upload another page and it says "An FTP error occurred - cannot put {file name} Access Denied. The file may not...
I'm not sure if this has to go on these pages or Access pages but here goes anyway.
I have a database search setup on a webpage using a MS Access database to hold the information.
I ahve tried hyperlinking say a website within the database field which works fine, but when it appears in the...
I am trying to perform a calculation on a web form that will take two seperate quantities plus them together and then multiplied by the quantity to end up with the total cost for that item. The snippet of the calculation i am using at the moment is as follows:
if (document.form1.qa.value >...
I have set up a form that once submitted will send the information to an email. Is it possible to send to multiple emails such as the cc: option on the email. e.g.
To: Someone@Somewhere.com
cc: Me@Here.com
Subject: Blah blah blah
I have tried and for some reason it puts the other email into...
I ahve a website setup that uses a flash banner but for some reason i can view the page locally and it shows on th website but when i upload it to a server it displays the page as if there is no flash file inserted into the page.
I have uploaded the flash file etc i just dont see why or how...
Hi people,
I'm looking to allow certain characters when a person enters a name. At the moment letters upper and lower case are allowed but i'm looking to allow full stops and slashes as well but not sure how it is done!
if (!ereg("^[ZA-Za-z' -]{1,50}$",$company))
{
unset($_GET['do'])...
The Members Area i have created was working fine, and then suddenly i get this warning/error when i test the new member sign up script
Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/httpd/vhosts/impa.net/httpdocs/new_member.php:6) in...
I have created a members database that can be signed up to etc!
I have attempted to create some lougout script using online tutorials and text books as guides but none appear to work!
<?
session_start();
unset($_session['pwd']);
unset($_session['loginName']);
session_destroy()...
I have setup a connection to a database and everything works fine, I was just curious as to whether it was possible to add navigation to the search results.
Some searchs can result in many results, i know how to limit the amount of results that are shown per page, but when i try to add...
Having just created a database search page i am trying to apply navigation to the search results....
I have set the repeat region to show 10 results and hope to apply next and previous links so the user can navigate to the next and previous 5 records if there are any.
I have tried using the...
I'm new to ASP and ahve tried to setup a webpage that will search an MS Access database and display the results accordingly.
I have setup up a connection to the database and a recordset stating what information is to be shown and in what order etc.
I have setup a simple form with a search...
Hi there,
Is it possible to use PHP to use an MS Access database or table so it can display information held in that database and make it searchable say by name for example?
I hope this is the right forum for this question!
How do i go about displaying data from an Access database on a website? and then be sorted into certain orders such as name country etc
Hey guys!
right i ahve created a small flash animation banner. it all works apart from the link ive put in so if it is clicked it will go to a certain website. I am using the script:
on (release) {
getURL("http://www.impa.net/exhibition_overview.html");
}
I ahve the button setup over the...
I'm not sure if this is a HTML issue or just a browser issue but here goes!
i have created a web page with 2 iframes that refernce tables that i would like to line up! in IE they line up perfectly and works fine but when i preview it in Firefox or safari (i'm working from a PC but checking on...
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.