1091100582's Profile User Rating: -----

Reputation: 0 Apprentice
Group:
Active Members
Active Posts:
118 (0.07 per day)
Joined:
15-August 09
Profile Views:
4,675
Last Active:
User is offline Jul 01 2012 11:45 AM
Currently:
Offline

Previous Fields

Country:
Who Cares
OS Preference:
Who Cares
Favorite Browser:
Who Cares
Favorite Processor:
Who Cares
Favorite Gaming Platform:
Who Cares
Your Car:
Who Cares
Dream Kudos:
0

Latest Visitors

Icon   1091100582 has not set their status

Posts I've Made

  1. In Topic: Ajax Dynamic Menu Ruby on Rails

    Posted 1 Jul 2012

    thanks for reply, hmm, right now i changed to a empty div, however, actually when i use firebug debug, it able to GET the ajax request, but it show me red color message, it seems that my controller did not respond javascript and render the _category.

    oh yah,my console actually showing this error
    ActionView::Template::Error (undefined local variable or method `f' for #<#<Class:0x007f1c040722c8>:0x007f1c04046998>):
    1: $('category_select').replaceWith('<%= escape_javascript(render :partial => 'category', :locals => { :f => f, :categoryID => @subcategory}) %>')
    app/views/javascripts/dynamic_subcategory.js.erb:1:in `_app_views_javascripts_dynamic_subcategory_js_erb__1942042791612699731_69879151602540_988346200319335921'
    app/controllers/javascripts_controller.rb:7:in `dynamic_subcategory'


    it did go to my dynamic_subcategory.js.erb, but i did pass locals f, it still gave me the error undefine local variable @@
  2. In Topic: Ajax Dynamic Menu Ruby on Rails

    Posted 30 Jun 2012

    argh ,sorry @@ ...https://gist.github.com/2995276

My Information

Member Title:
D.I.C Head
Age:
Age Unknown
Birthday:
Birthday Unknown
Gender:

Contact Information

E-mail:
Private
MSN:
MSN  secret@live.com.my

Friends

1091100582 hasn't added any friends yet.

Comments

1091100582 has no profile comments yet. Why not say hello?