fbpx

Astroid 2.4 Landed with Joomla 4 Compatibility Download Now

Welcome, Guest
Username: Password: Remember me

TOPIC: (SOLVED)jQuery is not a function Erroneous function

jQuery is not a function Erroneous function 2 weeks 3 days ago #24298

  • raykom2010
  • raykom2010's Avatar
  • Offline
  • Senior Member
  • Posts: 51
  • Karma: 0
Dear creators. After upgrading to
Astroid Framework 2.4.1, Astroid Template Zero 2.4.0, a third-party module has broken.
Error code
petitsiya? poll_id = & submit = Vote: 714 Uncaught TypeError: jQuery is not a function
Erroneous function

jQuery (document) .ready (function ($) {


$ ("# qlue_poll-submit_button <? php echo $ id?>"). click (function (e) {
e.preventDefault ();
var awnser = $ ("input [name = 'poll']: checked"). val ();
pollAwnser = awnser;

$ ('# qlue_poll-vote <? php echo $ id?>'). remove ();
$ ('# qlue_poll-submit_button <? php echo $ id?>'). remove ();

if (rua == '1' && '<? php echo $ loggedIn?>'! = '1') {
$ ('<p> Please login to vote. </p>') .insertAfter (document.getElementById ('# qlue_poll-question <? php echo $ id?>'));
return;
}

if (captcha == 1) {
$ ('# qlue_poll-captcha <? php echo $ id?>'). css ('display', 'initial');
} else {
vote ();
}
});

if (! <? php echo $ allowed?>) {
$ ("# qlue_poll-submit_button <? php echo $ id?>"). trigger ('click');
}

createElement = function () {
$ ('<div id = "qlue_poll-results-chart <? php echo $ id?>"> </div>') .insertAfter (document.getElementById ('# qlue_poll-question <? php echo $ id?>' ));
}
});

Tell me, how can I change the code to make it work? Thank.
The topic has been locked.

jQuery is not a function Erroneous function 2 weeks 2 days ago #24323

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Posts: 4033
  • Thank you received: 592
  • Karma: 104
Hi,

Are you able to post a link to your site/page that's having the issue.

Thanks,
Chetan
Thank You,
If you like our support and products, tweet us at joomdev and let the world know about it.
The topic has been locked.

jQuery is not a function Erroneous function 2 weeks 2 days ago #24325

  • raykom2010
  • raykom2010's Avatar
  • Offline
  • Senior Member
  • Posts: 51
  • Karma: 0
formulapeace.ru/index.php/ru/petitsiya?p...poll_id=&submit=Vote

The function is triggered when the voting button is pressed


But this is not a problem with the framework. This is a module problem.
I only need advice on how to solve the problem.
The topic has been locked.

jQuery is not a function Erroneous function 1 week 6 days ago #24398

  • raykom2010
  • raykom2010's Avatar
  • Offline
  • Senior Member
  • Posts: 51
  • Karma: 0
Dear developers, please remember my request. I need your advice.
The topic has been locked.

jQuery is not a function Erroneous function 1 week 5 days ago #24426

  • nishtha
  • nishtha's Avatar
  • Offline
  • Moderator
  • Posts: 1269
  • Thank you received: 123
  • Karma: 16
Hi,

Yes we understand your concern, firstly please update Astroid Framework to v2.4.2, then follow the solution provided here: www.joomdev.com/forum/jd-fitness/5304-mo...ged-in-as-super-user.

If still the issue isn't resolved the please share your site's backend credentials on This email address is being protected from spambots. You need JavaScript enabled to view it. with this forum link so we can see what exactly is going wrong here.

Thanks,
Nishtha
Thank You,
If you like our support and products, tweet us at joomdev and let the world know about it.

To know more about products check out the their documentation.
The topic has been locked.

jQuery is not a function Erroneous function 1 week 5 days ago #24428

  • raykom2010
  • raykom2010's Avatar
  • Offline
  • Senior Member
  • Posts: 51
  • Karma: 0
Hello, Nishtha.
Did it as written - it did not help.
Here is the link to the page.
Voting should work when you click on the voting button. But it doesn't work.
formulapeace.ru/index.php/ru/petitsiya?p...poll_id=&submit=Vote
The topic has been locked.

jQuery is not a function Erroneous function 1 week 5 days ago #24464

  • raykom2010
  • raykom2010's Avatar
  • Offline
  • Senior Member
  • Posts: 51
  • Karma: 0
The new framework loads one more jquery-3.5.1.min.js library. Maybe the conflict is not resolved correctly?
The topic has been locked.

jQuery is not a function Erroneous function 1 week 4 days ago #24500

  • raykom2010
  • raykom2010's Avatar
  • Offline
  • Senior Member
  • Posts: 51
  • Karma: 0
Thank you all - the topic is closed. My installation error.
The topic has been locked.

jQuery is not a function Erroneous function 1 week 4 days ago #24512

  • nishtha
  • nishtha's Avatar
  • Offline
  • Moderator
  • Posts: 1269
  • Thank you received: 123
  • Karma: 16
Hi,

Is you problem solved now?
Do let us know if you have anymore queries.

Thanks,
Nishtha
Thank You,
If you like our support and products, tweet us at joomdev and let the world know about it.

To know more about products check out the their documentation.
The topic has been locked.
Moderators: chandandeep
Time to create page: 0.406 seconds