Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8581203
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T20:59:28+00:00 2026-06-11T20:59:28+00:00

In my controller.js I’ve function: $(MyModel.addMyButtonTag).live(click, function () { MyModel.addRecord(); }); and in my

  • 0

In my controller.js I’ve function:

$(MyModel.addMyButtonTag).live("click", function () {
    MyModel.addRecord();
});

and in my model.js I’ve:

var MyModel = {    
    addMyButtonTag: "#AddButton",

    addRecord: function () {

       //Show modal
       $(MyModel.addMyButtonTag).modal();
       $('#simplemodal-container').css('height', '230px');
       $('#simplemodal-container').css('min-height', '0');
   }
}

These jqueries work well in IE8-9 but in firefox they don’t work at all. Any suggestion please?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T20:59:30+00:00Added an answer on June 11, 2026 at 8:59 pm

    jQuery .live() is deprecated Use .on() instead

    for more info take a look here http://api.jquery.com/live/

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Controller function login() { // Don't show the error message if no data has
my controller is [code]$data['navlist'] = $this->MCats->getCategoriesNav();[/code] model is [code] function getCategoriesNav(){ $data = array();
The controller function startpage:function(a){ var model1 = this.store.getAt(a.index); App.views.start.load(model1); App.views.viewport.reveal('start'); }, how to get
Controller Action public function actionCreate() { $model=new News; $contentModel = new NewsContent; // if
My controller get datas from database model, and sends them to view. In view
The controller function: function signup() { $bool1 = $this->form_validation->run('username'); $bool2 = $this->form_validation->run('email'); $bool3 =
The controller ... [HttpPost] public virtual ActionResult PickAColour(ColourModel model, string imgbtn, string returnUrl) {
My controller is: /** * @Route(/product/submit, name=product_submit) * @Template(GaorenVendorsBundle:Product:index.html.twig) */ public function submitAction() {
CONTROLLER class ImagesController extends AppController { var $name = 'Images'; var $uses = array('Image','Person');
Controller ClientDocument. def upload_document ClientDocument.upload_client_document(params) end Model ClientDocument. Class method.. def self.upload_client_document(params) self.new :uploaded_data

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.