Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript My Script code doesn't work on chrome

  • This topic is empty.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #196073
    Murad
    Participant

    Hi,
    my javascript code doesn’t work on chrome but It’s work on other browser : Mozilla, Opera & IE,
    I have a code in codepen
    http://codepen.io/muradbougrain/pen/vERYaa
    what I want is a form with multiply action for this I used a script in head of the html page to make the submit button send to two place :

    1 – Contact.php page to receive fields information
    2 – Pay via Paypal to take the clients to paypal page

    and in external javascript file, I create a script when client chose plan 1 ( 0$ free)’select option’ take it ti thank you page not paypal error page.
    It’s work normal in other browser but the contact.php doesn’t work on chrome with this selectoption script,

    #196074
    Paulie_D
    Member

    We can’t really see whether it works or not without the accompanying HTML / CSS.

    #196076
    Murad
    Participant

    why I put just script, because when I delete the ‘submit form on select option’ code It’s work good,
    I can give you link of my website, If It’s not against the rules!!

    #196077
    Paulie_D
    Member

    why I put just script, because when I delete the ‘submit form on select option’ code It’s work good,

    OK..we obviously have a language barrier because I did’t understand that.

    I can give you link of my website

    Sure, go ahead…but I very much doubt that JS would be browser specific unless you have some kind of browser-sniffing thing going on.

    #196079
    Murad
    Participant

    I’m not a native speaker :(
    this’s the website
    http://www.conseilmode.ca
    and what I mean in previous comment, is when I deleted this javascript function:
    http://codepen.io/muradbougrain/pen/qEoBwo
    the conact.php work working good on chrome

    #196109
    Murad
    Participant

    by other way, any code to help me send to multiply actions with one submit button?

Viewing 6 posts - 1 through 6 (of 6 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.