Please help with javascript question

Hi all

So ive got this piece of javascript-

$("#verse_inscriptions").on ('change', function() {}

verse of the var = $(this).children("option:selected").val();)

If (verse! = "0") {}

$("#textarea").val ($("#textarea").val () + "" + verse);




This page that I need is to adapt it so that it will allow this function to arrive while also inserting the same information into the textarea - here

< textarea = "textarea2" id = "textarea2" name > < / textarea >

So basically I have 2 forms, the first is where customers make their choices/selections and the second form retrieves these choices and inserts them in form2 by attributes "onchange", but the piece of code above that from occur (only on this part of the form 'inscriptions and verses' and 'textarea', which, as you can see both are interrelated).

Can someone help me with this? I appreciate all help.

Sorry it's my typo (extra '} ')

$("#verse_inscriptions").on("change", function() {
        var verse = $(this).val();
        if(verse == "0") verse = "";
        $("#textarea, #textarea2").val(verse);


Kenneth Kawamoto

Tags: Dreamweaver

Similar Questions

  • Please help with javascript

    Hi all
    In my application, there is a colujmn in a table with the date field (calendar) and 2 other fields. The user is not allowed to enter later in the date field, I used a javascript script and it worked fine, but later I discovered that this works only for the future date, (not months or year) assume that, if the date is November 15, 2010, the error is thrown, otherwise if the date is October 15, 2010, error is thrown , for dates like December 10, 2010, December 10, 2011... error is not thrown, that is to say in the coming months and the year is NOT thrown.
    I used the code below:
    < script language = "JavaScript" type = "text/javascript" >
    function test (SAVE)
    for (var i = 1; i < = 30; i ++)
    "" var i1 = i + "";
    I1 = '0' + i;
    var datval = document.getElementById("f04_00"+i1).value;
    If (datval! = null & & datval > ($v ('P10_FUTURE_DATE')))
    Alert ("You entered at a later date that is not valid.");
    document.getElementById("f04_00"+i1).value = ";
    document.getElementById("f05_00"+i1).disabled = true;
    document.getElementById("f06_00"+i1).disabled = true;
    counter ++;

    on the other
    document.getElementById("f05_00"+i1).disabled = false;
    document.getElementById("f06_00"+i1).disabled = false;
    doSubmit (SAVE);
    < /script >

    If the incorrect date is selected, the first value in the column is disabled and the other columns fades.
    Another problem I'm facing here is the calendar does not close when you selected the value, I have to close it manually.

    Please help me with the code!


    OK - you should check the settings on the report and the process.

    For each column in the report, check that reference parameters owner of the Table, name reference Table and column name of reference are executed correctly. Note that the reference column name must match the name of the column or the name of the alias, as defined by the SQL statement.

    For each process, make sure that the owner, Table and primary key column name are executed correctly - it should be the same for all processes in the form of tables.


  • Please help with a question of style image...


    1. I defined a style of image that looks like this in the picture style editor:


    2. I applied the style of an image. As expected, in the WSIWYG Editor, the image is intended for 1.75:


    The code (for this simple page, which is be a master page, but I found the problem on the regular pages too) looks like this:


    3. HOWEVER, in preview mode and in the WebHelp output, graphics is flat against the right edge:


    Is something being crushed somewhere? Or, perhaps, I do not understand is what a 'class '?

    Thank you!


    HI Kurt

    I may be wrong here, but what you've shared shows the image 'smooshed against' the LEFT is not the right side.

    I wonder if the issue here is your designation of the style. I note, there seems to be a period in it. You could try again and make sure that the name of style does not contain a point. I think that this is perhaps confusing things.

    See you soon... Rick

  • Please help with download. ?

    Please help with the download?

    Available downloadable Setup files:

    Download and installation help links Adobe

    Help download and installation to Prodesigntools links can be found on the most linked pages.  They are essential; especially steps 1, 2 and 3.  If you click on a link that does not have these listed steps, open a second window by using the link to Lightroom 3 to see these "important Instructions".

  • Get error 207 trying to download creative Cloud and someone please help with this problem, thanks in advance please.

    Get error 207 trying to download creative Cloud and someone please help with this problem, thanks in advance please.

    Please refer to

    Error 207 to "install Adobe".

  • I need to reactivate Photoshop CS4 because I have a new hard drive in a reminder for my 2.5 yr old iMac last operating system running. When you open the program, I was told to contact Adobe support and give them an error code: 150:30. Please help with per

    I need to reactivate Photoshop CS4 because I have a new hard drive in a reminder for my 2.5 yr old iMac last operating system running. When you open the program, I was told to contact Adobe support and give them an error code: 150:30. Please help with permission. ?

    You can repair it yourself. I have a screenshot guide. You use app the Mac Terminal and a python (.py) script that comes with the recovery of the license for the Mac package.

    Don't forget to leave a space after typing sudo python and note that your password will not display any points. Simply enter it blind.

    Start 11 Message and take your time. It does not work. Layout error 150:30 opening Photoshop cs4 on Macbook Pro


  • Please help with a basic javascript syntax

    Can anyone help me please with an installation of 'remove from Favorites', I'm working.

    I have query to get all the favourites, and then I pulled out the Favorites to the bottom of the page

    Each favorite has a link 'remove from Favorites' - I want to make sure that when a user clicks on this link, they get a javascript confirm box pop up saying "are you sure you want to delete #favourites name # of your Favorites?

    So I have...

    function remove(profile,name) {}
    If (confirm ("are you sure you want to delete #name # your Favorites?")) {
    Window.Location = "remove_from_favourites.cfm? deleteFavID = #profile # & removedName = #name #


    < div onClick = "remove(#rs_favs.favouriteeID#,#rs_favs.firstName#)" > remove from Favorites < / div > "

    but it does not work - I think that there are 2 problems...

    problem 1 - I used CF # in the suppression works as I don't know what we're doing in javascript for "output" a variable (see where it says "Are you sure you want to remove #name # favorite") what should I use instead of ' # '?

    problem 2 - I tried to pass to the function variables > > onClick = "remove(#rs_favs.favouriteeID#,#rs_favs.firstName#)" and I separated the but a commercial "," but I suspect that it is an incorrect syntax "

    If someone could please help me I would be very grateful to be honest, I like coldfusion - but javascript hurt just my head! :(

    Thank you very much.

    PS how I wrapped my text 'remove from Favorites' in a div rather that to make a link real 'a href' - is that correct or is there a better way (ideally I want the text to look like all my other links (ie they emphasize on mouse over))

    It's because you pass a value of string without single quotes in your onclick() function.

    To take

    Remove Favorites

  • HP Pavilion P7-1110: Please help with editing after scanning

    I know how to analyze an element, but after that I scan I do not know how to edit. I have Micro Soft Word 10 and my scanner is a HP Officejet 4630. If you can please help and thank you.

    Hi Tadpolegreen,

    Thank you for answering my questions!

    I would recommend going by there how to scan guide Scan in Windows 7 with full functionality software HP for HP Multifunction printers. Select how to scan with the HP software and how to scan in the form of editable text (OCR), follow the instructions.

    I hope this helps!

  • Please help with my reader prs 505

    Hi thr,.

    Please help me on my prs 505 reader, the display got very light canoe even read the words correctly, what's wrong with it, please help

    Thank you


    Hi Jeevani,

    Welcome to the community of Sony!

    Sony Electronics apologizes for any question, you have met with your product. A small number of E Ink devices, with specific display panels, can become sensitive to the discoloration of the display when a page is turned while watching in strong direct sunlight. Clear the display is only temporary and can be corrected by adjusting the angle of the camera to avoid direct light from the Sun and then a page turns.

    Also, try the steps on the below technical support article:

    Thank you for your message.

  • Please help with if, then formula

    I'm having troble with so and so, please help. So here's my question, if E is less than or equal to 30, then multiply K by 12% and specify the amount of 12% at Mr. Merci for your help and please show me the formula.

    Do you mean something like this?

    The formula in the column N:

    = IF(E≤30,K*12%,"")

    You do not specify what you want if the value of E is > 30, so the formula here is nothing.  If you want something, then replace ' ' to the desired value.


  • Please help with microphone and yahoo messenger

    my microphone does not work on yahoo messenger. any ideas please help thanks

    Hi razzle5150,


    We would like to get some more information from you to help solve your problem. You better, please answer the following questions.

    1 when was the last time it was working fine?

    2. the microphone works with windows?

    You may need to set up your microphone for speech recognition. Please visit the link below to set up the microphone.

    Check that the microphone input level is set correctly, check out the link below to check if the value is correctly:

    Hope this information is useful.

    Let me know if it worked.

    All the best!

    Thank you, and in what concerns:

    Halima S - Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Please help with conditional actions showing the PlayBar

    I tried to set up a tip action that will not allow users to move forward until they have clicked on the 3 themes I want to see again them.  I assigned variables, follow the tutorials and do everything now.  Please help how I my Advanced actions set upwards... everything shows and hides all work so I have to assume that the assignment of variable works as well.  I used numbers initially and changed my value of the variable of "dude" just to make sure I was not missing something.


    Here's the aciton condtional which is performed after the entry of the slide


    All logic seems in tact for me however I click on each of my boxes and all conditions must be true, but will not display game bar...

    Note: I also tried to show a next button and just show the things randomly with the same logic and it just will not work... What am I doing wrong?

    Something escapes me in your question: How do trigger you the conditional action? I suspect that he is never executed, but may be wrong of course.

    I created a small example to check: slide contains 3 buttons that trigger an action condtional with two decisions. The first decision is a simulated standard measure (condition 1 = 1 is always correct) assigns the value 1 to the variable corresponding user and displays a caption text, that was initially hidden. This is a screenshot of this first decision Stand for the first Bt_One action to be triggered by the first button:

    The second decision Check is the action of condtional real, very similar to yours. This will be done after the first decision:

    Create a duplicate of this action for the other two buttons, you only have to edit the first decision where the user variable needs to be changed.

    In my example, when you click the last button (regardless of the sequence) all the text captions should have been disclosed (I na not hide others, but you can do the same of course) and the second decision check will result in a positive response, so the playback bar appears immediately.


  • Very slow Macbook Pro (2012), please help with report EtreCheck

    Hi all

    My Macbook runs very slowly, I tried a number of things suggested online but none worked. I recently went to a repair shop and they suggested it could be to do with the dataflex (not sure if this was exactly, but I remember it sounding similar.) They described as a hard drive to another internal component connection, sorry for the inaccuracy.) I have me am replaced, but this did not help either.

    I downloaded the software EtreCheck and I was wondering if someone could help me to make light of the report on possible solutions? I have the feeling that it could be the hard drive needs to be replaced, but have no evidence of that. Verification has been run for the problem of "Beachballing" and got the sub report, please let me know if more info would be helpful. I hope it's telling in a way!

    Thank you for the pointers.

    EtreCheck version: 2.7.8 (238)

    Report generated 2016-01-26 22:56:56

    Download EtreCheck from

    Duration 10:23

    Performance: Poor

    Click the [Support] links to help with non-Apple products.

    Click [details] for more information on this line.

    Problem: Beachballing

    Hardware Information:

    MacBook Pro (13-inch, mid-2012)

    [Data sheet] - [User Guide] - [Warranty & Service]

    MacBook Pro - model: MacBookPro9, 2

    1 2.5 GHz Intel Core i5 CPU: 2 strands

    4 GB of RAM expandable - [Instructions]

    BANK 0/DIMM0

    OK 2 GB DDR3 1600 MHz

    BANK 1/DIMM0

    OK 2 GB DDR3 1600 MHz

    Bluetooth: Good - transfer/Airdrop2 taken in charge

    Wireless: en1: 802.11 a/b/g/n

    Battery: Health = Normal - Cycle count = 420 - SN = 9G22603YVD3MB

    Video information:

    Graphics Intel HD 4000

    Color LCD 1280 x 800


    OS X Mavericks 10.9.5 (13F34) - since startup time: less than an hour

    Disc information:

    Disk0 APPLE drive HARD TOSHIBA MK5065GSXF: (500,11 GB) (rotation)

    EFI (disk0s1) : 210 MB

    Macintosh HD (disk0s2) /: 499,25 go-go (248,48 free)

    HD (disk0s3) [recovery] recovery: 650 MB

    OPTIARC DVD RW AD - 5970H)

    USB information:

    Apple Inc. FaceTime HD camera (built-in)

    Apple Inc. Apple keyboard / Trackpad

    Computer, Inc. Apple IR receiver.

    Apple Inc. BRCM20702 hub.

    Apple Inc. Bluetooth USB host controller.

    Lightning information:

    Apple Inc. Thunderbolt_bus.


    Mac App Store and identified developers

    Launch system officers:

    [failure] [details]

    Launch system demons:

    com.Apple.Security.syspolicy.plist [failure]

    Launch officers:

    [loading] [Support]

    [loading] - Updater.plist [Support]

    Launch demons:

    [loading] com.adobe.fpsaud.plist [Support]

    [loading] [Support]

    [loading] - Tool.plist [Support]

    Items in user login:

    iTunesHelper Application (/ Applications/

    Other applications:

    [ongoing] com.etresoft.EtreCheck.85920

    Plug-ins Internet:

    FlashPlayer - 10.6: Version: - SDK 10.6 [Support]

    QuickTime Plugin: Version: 7.7.3

    Flash Player: Version: - SDK 10.6 obsolete! Update

    Default browser: Version: 537 - SDK 10.9

    o1dbrowserplugin: Version: - SDK 10.8 [Support]

    googletalkbrowserplugin: Version: - SDK 10.8 [Support]

    JavaAppletPlugin: Version: 25 check the version of Java 8 update

    3rd party preference panes:

    Flash Player [Support]

    Java [Support]

    TeXDistPrefPane [Support]

    Time Machine:

    Time Machine not configured!

    Top of page process CPU:

    6% update_dyld_shared_cache

    4% WindowServer

    3% kernel_task

    mdworker (3) 2%

    1% launchd (4)

    Top of page process of memory:

    508 MB (4)

    502 MB kernel_task

    Safari of 283 MB

    Finder 197 MB

    152 MB softwareupdated

    Virtual memory information:

    988 MB of free RAM

    3.03 GB used RAM (750 MB cache)

    Used Swap 0 B

    Diagnostic information:

    26 January 2016, 21:59:30 self-test - spent

    Hello mrdivorce,

    It looks like of course as evidence of a hard drive failing for me. Hard drives 2.5 "in the MacBook Pro tend to fail after 2-3 years. Judging by the date on your MacBook, I think that your time is up. Maybe try to find a different repair store. Looking for Service Center authorized Apple (

    I suggest upgrading to an SSD and increasing your RAM too. Then you have the hardware to run the last OS X 10.11.

  • Please help with reset the time lock

    We have problems with our computer to lock if we are online, etc.  We need to connect back with our password to see what we were reading.  If the mouse is still for a few minutes, the computer will automatically lock the computer mode.  Can someone tell me how to set this time around so that it does not lock the computer after a minute.

    Thank you!!

    Hi jomabe,

    Thanks for posting of with respect to this application.

    According to the information provided, it can be either parameter must be changed or the option of power setting could be revised in order to help you with this problem.

    For a change of setting screen saver, click on empty place on the desktop and select PERSONALIZE / screen saver - check if the waiting period is set for a time relevant to your operation or if it needs to be revised.  In addition, if the Logon Screen summary view is checked, it will ask login during the resumption of the activation of the screen saver.

    Another area that may be the result of what is living could be in the power Plan options.  To check if the power management options contribute to the problem, follow these steps to customize a diet plan to check whether components that can be going to sleep can be adjusted to your needs.

    How to customize a diet plan

    To customize a diet plan, follow these steps:

    1. Click Start
      type Power Options in the start search box, and then click Power Options in the list programs.
    2. Click on change settings for the plan under the plan.
    3. The parameters of change for the plan page, select the display settings and parameters of sleep that you want your computer to use, or click on change advanced power to change additional settings.
    4. Click OK, or click on save changes to save the changes.

      Ensure that the plan of the power that you want the computer to use is selected in the Power Options page.

    Pasted from>

    Make sure to consider change Advanced Power settings selected in the context of your current power plan to check if a network card, hard drive or other component can go to 'sleep '.

    Please let us know on this issue if it helps with the determination or help.

    Kind regards

    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Please help with the problems of Vista SP2

    So I spent all day on the forums here and I'm head over heels.  I had problems with Windows update and some other problems on my Dell Studio XPS.  It is a tower with double HDs in RAID mirror running Vista 64-bit with SP2.

    I got it for 3 years and I thought that I clean and correct certain defects to go back to the original Dell factory condition.  That did not fix the update install problem I did cleaning.  Now it's worse.

    I'm trying to install SP2 and get a catastrophic failure 0x8000ffff error-UNEXPECTED

    The onlychange is that several months ago, one of my WD 640 GB drives factory failed and I replaced it with a Seagate Barracuda 1 TB since I couldn't find a 640 GB drive.

    I tried to stop and restart all services BITS, etc. no luck.

    I tried to run among the MS FixIt for the problem of update, but it fails because it says that it cannot initialize the powershell.

    Help, please... I'm hopelessly lost and can not spend more money on this thing.

    Thank you!

    If you need additional help with the clean install, please start your own, new topic in this forum:

    If these procedures look too complex - and there is no shame in admitting this isn't your cup of tea - take the machine to a local, good reputation and independent (i.e., not a BigBoxStore or a Geek Squad) computer repair shop & ask them to do the job.

Maybe you are looking for

  • Performance of the laptop battery Satellite A-80-127

    It's a shame to say that the battery of Toshiba Satellite - 80 Notebook in the 6th month of purchase has become quite dead and does not now charge after the use of the battery with the appropriate guidelines. With no service center in India, it is si

  • Invalid recovery email

    I can't connect to my Xbox Live account as it says that my account is blocked. Previously, I logged in * address email is removed from the privacy *. My gamer tag is Bilious123. I spoke with the Microsoft customer service that has been able to ensure

  • Windows cannot display the xp sp3 firewall settings

    I tried and did not work start > run regsvr32 hnetcfg.dll [Enter] cannot find module I also tried sharedaccess.reg which doesn't work anymore

  • IE8 has disappeared from my computer and I can't retrieve it or download it successfully.

    Works fully update Vista HP on a gateway DX4710-09, Pentium Dual core E5200, 6 GB of RAM DDR2, HD 640GO with lots of space empty. Originally 32 and 64 bit versions of IE8 was installed and usable.  Just for a test, on 06/02/13 I installed and set Fir

  • When you try to install my Canon printer... I get an error "spooler"...

    I had a problem with my PC recently, and a person allowed to get out of my PC. So I have to reinstall my printer (Canon iP2600), I have the disc. When I get to the part of the installation, it gives me a printer spooler error msg. It says to restart