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

  • Home
  • SEARCH
  • 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 6231683
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T09:58:41+00:00 2026-05-24T09:58:41+00:00

I am using Titanium to build a desktop app using web technologies. I decided

  • 0

I am using Titanium to build a desktop app using web technologies. I decided to use Backbone.js as my mvc. The problem is the application runs not on a server. This is my Backbone model and collection:

     window.Student = Backbone.Model.extend({
        initialize: function(){
            this.bind("save", this.value_change);
        },
        value_change: function(){
            alert("Student model saved for : " + this.attributes.first_name);
        },

        urlRoot : http://localhost:8080/student/,
    });

    window.Students = Backbone.Collection.extend({
        model: Student,
        url: 'http://localhost:8080/students/',
    });

and try fetching the values from the server using

var students = new Students  
students.fetch() 

I get this error:

message: "'undefined' is not an object (evaluating '$.ajax')"  

I am assuming this has to do with the url part. It is not able to fetch the values from the server. Any Ideas?

  • 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-05-24T09:58:42+00:00Added an answer on May 24, 2026 at 9:58 am

    Thanks for all your answers. The problem laid in loading jquery after backbone. I loaded jquery first and it worked out fine. Thanks to parshap from the irc of #documentcloud.

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

Sidebar

Related Questions

I am developing an application using titanium mobile. On the simulator, the app works
I am trying to use Appcelerator Titanium to build a mobile app. This app
Is it possible to create a app using Titanium Desktop to transfer files between
Im doing some research to build an iOS and Android app using titanium appcelerator.
Is titanium desktop application supports PHP and mysql? or using an ajax? Should I
Am looking into developing an iPhone native app using Titanium Developer Since this is
I have recently started creating an iPhone application using Appcelerator's Titanium. Since the application
i have a huge problem since yesterday!! i have installed titanium studio,it runs with
i am thinking of building an android app in appcellerators titanium application, and i
I have been using Titanium for an Android application that does some microblogging through

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.