Contact Form in Advert view

Contact Form in Advert view was created by Filipe Madeira

Hi there,

I'm trying to reach something but I'm not able to it yet.

In Advert view, when PopUp too conctat seller I need to meake this:

If Message isnt in blank, then when send close popup and A message should appear with success.

So far, I have in JomClassifieds.js, in line 222 this:
$jomClassifieds(".send").on('click', function( ev ) {
var msg =$jomClassifieds("#message").val();if(msg) {$jomClassifieds(".jomcl-popup-"+modal_id).hide();$jomClassifieds(".jomcl-popup-overlay , .jomcl-popup-"+modal_id).removeClass('active');alert ('Success');}else {alert ('Missing Message');}});

All works fine, with alert message and closes pop up, but I always get 2 alert messages, with the right alert message but always two. Or two success or two missing.

In chrome debugger, I get:

Uncaught TypeError: Cannot set property 'innerHTML' of nullxmlhttp.onreadystatechange @ jomClassifieds.js:94

Can anyone help me on this?

Thanks!
5 years 3 months ago#5862

Please Log in or Create an account to join the conversation.

Replied by Super User on topic Contact Form in Advert view

Dear Customer,

Kindly send your site URL, Joomla admin access and FTP details to This email address is being protected from spambots. You need JavaScript enabled to view it.. So that we can check and update you.

Thanks.
5 years 3 months ago#5865

Please Log in or Create an account to join the conversation.

Time to create page: 0.173 seconds

Contact us

  No.2/A, Venkateshwara Nagar,
1st Main Road, 100 Feet Road, SBM Towers, Velachery,Chennai - 600 042,India.
 admin@jomclassifieds.com
 skype.jomclassifieds
Copyright © 2013-2021 Jomclassifieds.com. All rights reserved. The Joomla! name, and logo are used under a limited license granted in the United States and other countries.