Please help with javascript problem

Hi
I'm trying to get 4 images to rotate(image1.jpg, image2.jpg,
image3.jpg and image4.jpg). However, only image1.jpg is loading up.
In the head, my code is:
<script language="JavaScript1.1">
<!--
var image1=new Image()
image1.src="image1.jpg"
var image2=new Image()
image2.src="image2.jpg"
var image3=new Image()
image3.src="image3.jpg"
var image4=new Image()
image4.src="image4.jpg"
//-->
</script>
In the body my code is:
<div id="content">
<div class="feature"><img src="image1.jpg"
alt="Photos" name="rotating" width="150" height="175" id="rotating"
/>
<script>
<!--
//variable that will increment through the images
var step=1
function slideit(){
//if browser does not support the image object, exit.
if (!document.images)
return
document.images.slide.src=eval("image"+step+".src")
if (step<3)
step++
else
step=1
//call function "slideit()" every 2.5 seconds
setTimeout("slideit()",2500)
slideit()
//-->
</script>
Only image1 loads up. I would really appreciate if someone
could tell me which lines need to change and to what. Also, how can
I smooth down the change (i.e. rather than have images change
suddenyl). Thanks in advance. Mike

http://www.mickweb.com/javascript/rotate/sequentialRotate.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>Rotate</title>
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<script type="text/javascript">
function r(){
var imgs=
["lee.jpg","joe.jpg","rhiannon.jpg","gary.jpg","caroline.jpg","ann.jpg"],
s=imgs[new Date().getTime()%imgs.length];
document.main.src=s;
document.getElementById("foo").innerHTML=s+"<BR>";
t=setTimeout("r()",2500)
</script>
</head>
<body onLoad="r()">
<img src="../transparent.gif" name="main" id="main">
<p>
<span id="foo"></span></p>
</body>
</html>
You need only to populate "imgs" array:
var imgs=
["image1.jpg","image2.jpg","image3.jpg","image4.jpg"]
And to include a place holder for the images, named "main":
<img src="transparent.gif" name="main" id="main">
If you don't have a transparent gif. use the first image in
the array:
<img src="image1.jpg" name="main" id="main">
Mick
Mike93510 wrote:
> Hi
>
> I'm trying to get 4 images to rotate(image1.jpg,
image2.jpg, image3.jpg and
> image4.jpg). However, only image1.jpg is loading up.
>
> In the head, my code is:
> <script language="JavaScript1.1">
> <!--
> var image1=new Image()
> image1.src="image1.jpg"
> var image2=new Image()
> image2.src="image2.jpg"
> var image3=new Image()
> image3.src="image3.jpg"
> var image4=new Image()
> image4.src="image4.jpg"
> //-->
> </script>
>
> In the body my code is:
> <div id="content">
> <div class="feature"><img src="image1.jpg"
alt="Photos" name="rotating"
> width="150" height="175" id="rotating" />
> <script>
> <!--
> //variable that will increment through the images
> var step=1
> function slideit(){
> //if browser does not support the image object, exit.
> if (!document.images)
> return
> document.images.slide.src=eval("image"+step+".src")
> if (step<3)
> step++
> else
> step=1
> //call function "slideit()" every 2.5 seconds
> setTimeout("slideit()",2500)
> }
> slideit()
> //-->
> </script>
>
>
> Only image1 loads up. I would really appreciate if
someone could tell me which
> lines need to change and to what. Also, how can I smooth
down the change (i.e.
> rather than have images change suddenyl). Thanks in
advance. Mike
>

Similar Messages

  • [ETL]Could you please help with a problem accessing UML stereotype attributes ?

    Hi all,
    Could you please help with a problem accessing UML stereotype attributes and their values ?
    Here is the description :
    -I created a UML model with Papyrus tool and I applied MARTE profile to this UML model.
    -Then, I applied <<PaStep>> stereotype to an AcceptEventAction ( which is one of the element that I created in this model ), and set the extOpDemand property of the stereotype to 2.7 with Papyrus.
    -Now In the ETL file, I can find the stereotype property of extOpDemand as follows :
    s.attribute.selectOne(a|a.name="extOpDemand") , where s is a variable of type Stereotype.
    -However I can't access the value 2.7 of the extOpDemand attribute of the <<PaStep>> Stereotype. How do I do that ?
    Please help
    Thank you

    Hi Dimitris,
    Thank you , a minimal example is provided now.
    Version of the Epsilon that I am using is : ( Epsilon Core 1.2.0.201408251031 org.eclipse.epsilon.core.feature.feature.group Eclipse.org)
    Instructions for reproducing the problem :
    1-Run the uml2etl.etl transformation with the supplied launch configuration.
    2-Open lqn.model.
    There are two folders inside MinimalExample folder, the one which is called MinimalExample has 4 files, model.uml , lqn.model, uml2lqn.etl and MinimalExampleTransformation.launch.
    The other folder which is LQN has four files. (.project),LQN.emf,LQN.ecore and untitled.model which is an example model conforming to the LQN metamodel to see how the model looks like.
    Thank you
    Mana

  • Please help with slideshow problems!

    Am using Photoshop Elements 8 and trying to make a slideshow. Have tried 4 times now and keep ending up with same problem, cannot reopen project to continue edititing.  Won't show up in orginizer and when I find on harddrive and try to open get message " wmv file cannot be opened".  How can I save a
    slideshow inprogress and be able to reopen and continue to edit and make slideshow?  I want to thank anyone who can help me with this in advance as I
    have gotten so frustrated that I want to just scream.
    Thanks

    Thanks for the help, thought I had done so but maybe not.  Anyway will have another go at it, now may I ask another
    question?  I am trying to add audio to slideshow.  I have some music I purchased thru amazon as mp3 files but I get
    message no codec and when I try to add wmv I get same message.  What type of file do I need and how can I add
    multiple songs to one slideshow.   I have one little wmv file that will go in, but it just replicates itself multiple times until
    it fills slide show. 
    Thanks again, sorry to be a bother, but this thing is driving this old man crazy.
    Date: Sun, 26 Dec 2010 20:34:32 -0700
    From: [email protected]
    To: [email protected]
    Subject: Please help with slideshow problems!
    You need to save the slideshow project in order to be able to go back later and make changes or additions to an existing slideshow . The wmv file is a final output format.
    Now you are most probably using only the Output command: that is what makes the wmv file.
    You should also do the Save Project command. (and I make it a practice to do the Save Project command before I do the Output command).
    If you look at the Elements Organizer 8 Help, there is a topic on "Create a slide show".
    -- Very close to the beginning of that topic is a screen shot of the Sldie Show Editor screen,
    -- The bar below the usual menu bar is labeled with a "B" and called the Shortcuts bar.
    -- The 1st entry on that Shortcuts bar is "Save Project"
    It is the Save Project command that saves the information about which photos, audio, etc you placed in that specific slide show so that you can come back again to do subsequent editing.  Save each Project with a unique name.
    After completing the Save Project command, you shoud see an "icon" in the Organizer for that slide show.
    Note:  you must also keep the photo files and audio files which you have used in this slide show: you can't delete them because the project file does NOT contain a copy of the photos, it only has the identification and folder location of the photo and audio files.
    >

  • Please Please help with JavaScript and Actions

    Hello!
    Is there a way to perform a saved Action from the Action Pallette using a JavaScript script? I know there is a way to do it with Visual Basic.
    Is there a way to run a Visual Basic script from a JavaScript script?(which could be a potential workaround if JavaScript CANNOT call on an Action)
    Is there a way to call on a JavaScript from an Action?
    Here's specific information on my problem:
    I am using Illustrator CS2 on a PC
    I have written all of the JavaScript scripts that I need to perform various layer selection procedures and they all work perfectly. I have placed them in the Presets > Scripts folder so that they appear in my file menu.
    I wrote a very long action that called on these scripts (using Insert Menu Item > then selecting the script by going File > Scripts) sequentially and did some selecting and copy-pasting and applying graphic styles in between scripts. The Action worked PERFECTLY and ran all the scripts I needed to an automated a process that usually takes me an hour in less than five minutes!
    I saved the actions and saved the file.
    After closing Illustrator all of the lines of the action that called on scripts disappeared! It seems this is a known bug...I currently know of no workaround.
    Can anyone help with any of the following things:
    1. Getting actions to SAVE the commands to run javascripts
    2. Writing a JavaScript that runs an Illustrator Action
    3. Writing a JavaScript that runs a Visual Basic script that runs an Illustrator Action.
    I spent three days learning the basics of JavaScript (mostly by trial and error) and successfully wrote all the scripts I needed...I was overjoyed! But now that I've closed illustrator my actions to run said scripts do not work. PLEASE ADVISE!!!
    Thanks in advance,
    Matthew

    try next
    1)if possible split JS-code into 2 parts (before/after action)
    2)make vbs script with contents
    Set appRef = CreateObject("Illustrator.Application.3")
    appRef.DoJavaScriptFile("C:\my1.js")
    appRef.DoScript(Action As String, From As String)
    'add wait while ActionIsRunning
    appRef.DoJavaScriptFile("C:\my2.js")
    3) run vbs (File > Scripts or double-click).

  • I have just started using WD external hard drives, I use it to save my movies and music on. On more than one occasion, when I connect to my MacBook it erases everything on had on there. Can someone please help with this problem?

    I have just started using WD external hard drives, I use it to save my movies and music on. On more than one occasion, when I connect it to my MacBook it erases everything I had save on the hard drive. Can someone please help me with this problem? I am super tired of having to put all of my movies and music on the hard drive just to have it erased again. The products I am using are WD 4TB My Book and 2 TB My Passport external hard drives. When it happens, there is always an icon that reads, EFI, along with the My Book icon. Thank you for your assisstance.

    dwgar1322 wrote:
    I have just started using WD external hard drives, I use it to save my movies and music on. On more than one occasion, when I connect it to my MacBook it erases everything I had save on the hard drive. Can someone please help me with this problem? I am super tired of having to put all of my movies and music on the hard drive just to have it erased again. The products I am using are WD 4TB My Book and 2 TB My Passport external hard drives. When it happens, there is always an icon that reads, EFI, along with the My Book icon. Thank you for your assisstance.
    Yes, you have WD software installed  REMOVE IT !! 
    WD has warned its customers about their huge mistake that their software doesnt work on Mavericks and causes data loss.
    (also dont use WD drives anymore)
    Read all about it here:
    https://discussions.apple.com/thread/5475136?start=255&tstart=0
    See their website on removing the destructive WD software here:
    http://community.wd.com/t5/External-Drives-for-Mac/External-Drives-for-Mac-Exper iencing-Data-Loss-with-Maverick-OS/td-p/613775
    Western Digital External Hard Drives Experiencing Data Loss On OS X Mavericks
    http://www.cultofmac.com/252826/western-digital-external-hard-drives-experiencin g-data-loss-on-os-x-mavericks/

  • Please help with AcroIEHelper problem

    Hello,
    I had perfectly running laptop. Now, with no reason every time I turn on my laptop I get a messege that Windows Installer is preparing to install something. Then Installer asks me to insert a disc with Adobe Acrobat 7.0 Pro. When I insert the disc installer tells me that it can not access a file. Exactly:
    Adobe Acrobat 7.1.0 Professional
    Error 1304: Error writing to file C:\Program Files\Adobe\Acrobat 7.0\ActiveX\AcroIEHelper.dll.
    Verify that you have access to that directory.
    I checked that directory and did not find such file. Sometimes, this messege appears when I try to open C: or folders on my Desktop but not always. Once it showed up when I tryed to start IE. Ater I uninstalled Adobe Acrobat this messege stopped showing up. But when I reinstalled Adobe Acrobat it started again.
    I have tryed almost every anti-malware I could find - McAfee, Spybot, Spyware Doctor, Malwarebyte's Anti-Malware, Superantispyware, AVG 8.5, Dr. Web - all these programms I ran in both normal and safe modes. I even went to BIOS Setup and returned to factory settings. Nothing helped. I went to malware forum and people did not find any malware in my logs.
    Then, I installed WinPatrol that seems to be able managing startup programs. After I desabled SC-Acrobat.exe and Adobe Gamma Loader I do not have this annoying Windows Installer for Adobe Acrobat warning any more when Windows starts. But it still shows up often, but not always when I open C: or folders on my Desktop. I have Windows Vista Home.
    So could you please help me with this problem? Thank you.

    MamaDragonBoy wrote:
    It's already set to "mixed" wireless b and g... should I try setting it to all g?  Both my laptop and my husband's are "g"
    setting it to g certainly wont hurt anything.

  • Please help with internet problems

    Hi
    I have just started having problems with my blackberry curve. When i go to internet and click on my bookmarks it opens up front page fine but when i try to click on pages to connect to from front page it kicks me out straight to bookmarks page. Please help ????????????> this has only started in last few days i.e i go to sky sports which it opens then trying to click on an item to read it kicks me straight to bookmarks page????????

    Hi cp70uk
    Welcome to BlackBerry Support Forums
    Have you try Clearing your device Browser data ,you can try this and see if that helps ,For that Open your Browser > Press  the Menu key > Scroll down to Clear Browser Data ( Mark all fiels ) then Clear Now .
    Then perform a Battery Pull Restart like this device POWERED ON remove the battery wait for a min. then reinsert it back ,after reboot see if problem resolves.
    Click " Like " if you want to Thank someone.
    If Problem Resolves mark the post(s) as " Solution ", so that other can make use of it.

  • PLEASE HELP WITH BATTERY PROBLEM!!

    I recently swicthed from the 8830 which was a wonderfull phone. MY curve from sprint, 8330 is dead every day by 5 pm. I already exchanged the phone and had the battery replaced (third battery) I used my 8830 with the same applications and the most it would be by like 50-70 percent.  I dont know what to do. The curve is SUPPOSED TO  get better battery life! but actually is not. Its become a non realiable phone for me. Its still under my 30 days. Even though i already swaped it once. I do not want to get rid if this phone. I love the blackberry i just need the battery to last me either the same or better than the 8830 as blackberry promised....
    I have read forums in closing the applications but even when i do its still the same. I occasionally do get the hour glass problem and it does lag quite a bit.  Does any one know of a battery issue?? Has to be???
    I let it die last night and recharged it completely - as some of you recommended. I will try it today but my hopes arent to high ....
    Please help.
    Thank you 

    Hi,
    Excellent Post by JSANDERS
    http://www.blackberrynews.com/2008/05/20/battery-use-tips-for-your-maximum-battery-life/
    Thanks
    If you need more info please ask!  If not please resolve the thread using the options by the Kudos’ star, Just place the check in the Post that answered your question, Thanks  
    Click Accept as Solution for posts that have solved your issue(s)!
    Be sure to click Like! for those who have helped you.
    Install BlackBerry Protect it's a free application designed to help find your lost BlackBerry smartphone, and keep the information on it secure.

  • Please help with start problem of my new X61s

    I baught my X61s 2 weeks ago. It was received with vista home installed. I downgraded it to XP myself 1 week ago and it was working very well. Today, when I turned on the machine, nothing appeared on the screen, and I only hear about 7 beeps. I tried to turn off and turn on the machine several times, but no difference. I don't know what happen.
    Please help me! Thanks.

    Per the magic beep decoder ring that might mean bad DIMM or system board.
    I don't work for Lenovo. I'm a crazy volunteer!

  • Please help with Javascript obejcts hierarchy

    Hi!
    Is following Javascript obejcts hierarchy is right?
    1. App > 2. Doc > 3. Page >
    (from Page) > 3.1 Annotation3D
    (from Page) > 3.2 Field (link)
    thank u )

    You have to have Acrobat/Reader open to open a PDF and use some or all of the Acrobat JS features.
    When Acrobat/Reader is started various folders are accessed and files within those folders read and processed to create the application. This includes dictionaries, certain global variables, various functions provided by Adobe, and user defined functions or variables. The Adobe provided functions or user provided functions or variables are accessed by their assigned name. So if you created an application folder level function in a file called 'hello.js' containing the following code:
    function HelloWorld()
    app.alert('Hello World!');
    return;
    HelloWorld();
    Each time you open Acrobat an alert box with "Hello World!" will appear.  So even without any PDF open one can perform or have a task done. With application level scripts, you can add menu item, tool bar buttons, or modify menu items, etc. So when you open Acrobat you could have a menu item to create a new blank PDF or add the JS API Reference to the "Help" menu item. And if you selected "Help => JavaScript API', the JS API Reference file would open, whether there is an open PDF or not.
    PDF files are opened at the application level, as the application needs to interpret the code of the PDF file and provide the necessary resources for displaying, calculating, linking, etc for the open PDFs. If you open a PDF pragmatically, you need to provide an object name to that PDF. Especially if you are going to reference that file with JavaScript.
    Within an open PDF there are various actions. The first is the document level scripts that are used to establish the environment in which that PDF will function. This could include special functions to sum values, compute date differences, perform special key stroke and formatting. There can even be test to see if there are any necessary application level functions available for use the the document.
    Within PDF document you can can fields, links, comments, etc. And these items only exist in the PDF document and rely on the PDF document for performing the various task or communicating those task the the application.
    By the way with the "HelloWorld" function defined in the application JavaScirpt folder, and PDF opened on that computer can have a button with the 'mouse up' action JavaScript of "HelloWorld();" for the code and any time that button is pressed the alert box that appeared when Acrobat was started will appear. But if you take that PDF to another computer that does not have that file nothing will happen or an error box will appear.
    See Getting Started - Developing for PDF by Dave Wright and look around the Planet PDF site.
    You also need to realize that Acrobat JavaScript does not run synchronously, so you do not always have the individual scripts running in the same order or speed so it is possible a script will not always start and end before the next script in line is started or ends. And if you have dependencies between these scripts you need to test to see if they are all met.

  • Please help with namespace problem

    Hello,
    I am trying to display a gif image an I have a namespace problem.
    Here is my xml document:
    <?xml version='1.0'?>
    <?xml-stylesheet type="text/xsl" href="authors.xsl"?>
    <authors>
    <author>
    <name>Mike Galos</name>
    <nationality>French</nationality>
    </author>
    <author>
    <name>Cynthia Randall</name>
    <nationality>Canadian</nationality>
    </author>
    </authors>
    Here is my xsl stylesheet:
    <?xml version='1.0'?>
    <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
    <xsl:template match="//author">
    <image     xmlns:xlink="http://www.w3.org/1999/xlink"
                   xlink:type="simple"
                   xlink:href="logo.gif"
                   xlink:show="embed"/>
    </xsl:template>
    </xsl:stylesheet>
    I want the browser to diplay the gif image but it is only showing the image icon and not the actual gif image.
    Can anyone please help??
    Thanks in advance,
    Balteo.

    do you use a special browser?
    if not, do you really expect a standard browser to understand this kind of non-HTML image tag?
    <image xmlns:xlink="http://www.w3.org/1999/xlink" xlink:show="embed" xlink:href="logo.gif" xlink:type="simple">check HTML 4.0 (http://www.devguru.com/Technologies/html/quickref/html_img.html)
    or XHTML(http://www.devguru.com/Technologies/xhtml/quickref/xhtml_img.html)
    for the correct tag syntax.

  • PLEASE help with JavaScript parsing of WSDL return

    Can someone help with parsing return WSDL data?
    My return WSDL data is a concatenated string of alias names (firstname middlename lastname generation) delininated with an "@":
    7433|ALIAS|John|W|Smith| @7432|ALIAS|Johnny| |Smith| @7430|ALIAS|JJ| |Smithers| @7431|ALIAS|JJ| |Smith| @7400|ALIAS|Jon| |Smith| @7416|ALIAS|John|Wilber|Smith|JR
    I must have these names appear on my forms in a "lastname, firstname middlename generation" format. Can anyone provide expertise in this area if I provide the table.column reference?
    alias.alternate_id = tmp[0];
    alias.type = tmp[1];
    alias.firstname = tmp[2];
    alias.middlename = tmp[3];
    alias.lastname = tmp[4];
    alias.generation = tmp[5];

    Can someone help with parsing return WSDL data?
    My return WSDL data is a concatenated string of alias names (firstname middlename lastname generation) delininated with an "@":
    7433|ALIAS|John|W|Smith| @7432|ALIAS|Johnny| |Smith| @7430|ALIAS|JJ| |Smithers| @7431|ALIAS|JJ| |Smith| @7400|ALIAS|Jon| |Smith| @7416|ALIAS|John|Wilber|Smith|JR
    I must have these names appear on my forms in a "lastname, firstname middlename generation" format. Can anyone provide expertise in this area if I provide the table.column reference?
    alias.alternate_id = tmp[0];
    alias.type = tmp[1];
    alias.firstname = tmp[2];
    alias.middlename = tmp[3];
    alias.lastname = tmp[4];
    alias.generation = tmp[5];

  • Please help with some problems with my N96

    Hi there,
    I have spent a fair bit of money on my Nokia N96 and unfortunately it is out of its warranty etc.And I have few issues with it.
    So can anyone advise me as to how about I can overcome some issues:
    Firstly, in my message inbox only the numbers display instead of the names (e.g.. +447770260.. Instead of Peter), has anyone had this issue or can help with this? I have gone into the message setting and nothing sticks out and says click me for number or name to be displayed.
    Secondly, the vibrating device doesn't seem to work at all some days and other days it seems fine? Is this a common fault or is it my phone. Also, is there anywhere on the phone to adjust the vibrating force which maybe getting in the way?
    Many thanks for any advise or for merely looking, and grateful for any help.
    Adam  

    /discussions/board/message?board.id=smartphones&message.id=112590&query.id=115949#M112590
    read the above thread in regards to the contacts issue. it is a common issue for the s60 phones no fix as yet and it has been few years now.
    there is no way you can adjust the vibration force. its either on or off. the vibration should work at all times if you have it set to work. it should not be random. you might want to take it to nokia care for them to have a look at it despite the fact that it is out of warranty.  
    You know what I love about you the most, the fact that you are not me ! In love with technology and all that it can offer. Join me in discovery....

  • Can somebody please help with Javascript. 2 small problems.

    Hi. I have created a dynamic PDF form with fields. I have 2 problems that i am sure someone can help me with. (I can email anyone this PDF upon request).
    PROBLEM 1. In this form I have a table (actually i think its a sub form) which has 3 buttons associated with it ('Add Row', 'Delete Row' and (Clear Row'). One button adds a new row. It works but it effectively duplicates the row (and all text fields/cells contained in the row) and places this new row at the bottom of any existing rows. What i require is for this button (the button gets duplicated along with the row) to place the new row immediately below the row from where it is clicked. ie, imagine you open the document, fill out the row (at this stage there is only one) and hit the 'Add Row' button. You now have 2 Rows (great), so you fill out the second Row. Now here is my problem, if you hit the 'Add Row' button on the first Row, a new 3rd Row is added to the bottom and not in between Row 1 and Row 2.
    Effectively if you have dozens of Rows filled out and you need to insert a Row for an amendment, currently it cannot be done without deleting all Rows up to the point where you want to make the addition/insertion.
    PROBLEM 2. Within this Row of text/numeric fields are two fields (called 'Rate' and 'Loading') where dollar amounts are entered. As the form is filled out (the Rows can be dynamically generated and it's fields manually filled out by the user) there can potentially be dozens of Rows in a completed form and, as each Row has many text/numeric fields, one can imagine Columns forming once there is more than 1 Row. At the end of the form, totals are automatically calculated. I have created a button to reset (erase) all amounts entered into these two specific fields (Columns) but in every Row. Unfortunately there is something wrong with my script syntax as this button does not do this. ( i want this facility as when the form, which is a budget proposal, is completed i need to send two copies - one to accountants with figures and logistics and a second copy to another department whom i do not want to give the figures, so i need the button to erase figures without having to clear each cell individually).
    Any help that someone can give would be much appreciated.
    Please email me at
    [email protected] if you would like me to send you the file.
    Cheers
    Bradd

    Send the form to
    [email protected] and I will give it a go ....include a reference back to this forum posting.
    Paul

  • Please help with javascript issue

    Hi all,
    So ive got this piece of javascript -
    $("#verse_inscriptions").on("change", function() {
        var verse = $(this).children("option:selected").val();
        if(verse != "0") {
            $("#textarea").val($("#textarea").val() + " " + verse);
            calculateTotal();
    of this page http://www.milesmemorials.com/product-GH54.html What i need is to adapt it so that it will allow this function to happen whilst also inserting the same information into the textarea here -
    <textarea name="textarea2"id="textarea2"></textarea>
    So basically i have 2 forms, the first is where the customers make their choices/selections and the second form retrieves those choices and inserts them into form2 by 'onchange' attributes, but the piece of code above is stopping that from happening (only on this part of the form 'inscriptions and verses'and 'textarea' which as you can see are both interlinked).
    Can anyone help me with this? I appreciate any help.

    Sorry it's calculateTotal(); instead of processTextarea(); in the code above.
    The in the function calculateTotal you can add a piece of code to update #grand_total2:
    function calculateTotal() {
        $("#grand_total, #grand_total2").val(totalAmount.toFixed(2));
    Kenneth Kawamoto
    http://www.materiaprima.co.uk/

Maybe you are looking for

  • In iCal, "Available Meeting Times" greys out working hours one day off, MS Exchange

    I am using iCal, accessing an MS Exchange server. When setting up a meeting, "Available Meeting Times" greys out the non-working hours of potential meeting participants. However, the days are one day off. E.g. the working hours of my collegues are di

  • How to find Windows 8.1 product key on the laptop?

    I have a problem since doing the windows updates. My laptop seams to have erased everything off my hard drive, I have a legitimate windows 8 disk to reinstall it but no product key, is there anyway to find it on the laptop? I have tried doing the reg

  • Making a sign

    I am making a address sign on flagstone for my Mother.I have made the lettering and now I need to make it big enough for the sign. The sign measures 4' x 2'5". My question is how do I enlarge the font size when I print the image? This question was so

  • Can't save as in numbers 3.1

    Just got a new Mac with mavericks but numbers 3.1 and pages dont have an save as option in the file menu, any advice

  • URGENT! Playbook Issue - Wont connect or update - errors

    Hi,+ i recently bought a used Playbook. But what i didnt know is, that its not working. I hope somebody can help me. First, when i power up the Playbook I have to connect to Wifi. After i did that, it searches for updates and isnt able to update due