amitamb

Pune, India

verticalset.com

Age: 28

I am a developer living in Pune, India. I specialize in Ruby On Rails, Javascript, JQuery and search engines.

Working on a search platform http://www.verticalset.com/

Feb
25
comment How to submit a form that has been intercepted with event.preventDefault()
Thanks @terraling, updated.
Feb
25
revised How to submit a form that has been intercepted with event.preventDefault()
Update from comment
Feb
22
comment jQuery AJAX POST on Rails migraine
Few things to check, as_json on score.rb, calling submitScore outside of keypress handler, comment out everything in create action and respond with blank JSON.
Feb
22
answered How to submit a form that has been intercepted with event.preventDefault()
Feb
22
comment Show/hide specific links based on browser type
Please try using $() i.e. learn.jquery.com/using-jquery-core/document-ready to hide/display button. It should display at least one button as soon as user sees the page. As you are using onload, there will be some delay in executing onload event if you have images.
Feb
22
comment how to remove localstorage if you assign object instead of key?
One gotcha here though here is that if you had assigned localStorage["clear"] so just call localStorage.removeItem("clear") before calling localStorage.clear()
Feb
18
revised Disable button with JQuery
Fixed formatting issues
Feb
18
comment How to instantiate multiple jQuery File Uploads?
Might be obvious to you, but I could not make sense of this without an example: "My code would have to work with $(this) to make sure that each uploader is completely separate from the others. The plugin currently works with IDs and not classes, so I would have to find away around this also."
Feb
17
comment How to instantiate multiple jQuery File Uploads?
First of all I would suggest you try to re-structure your app to have different forms for each of the newly added divs by removing the parent form. Or use iframe for new divs. Also, can you please post jsfiddle to show exact problem as it is hard to understand the problem?
Jan
22
awarded Popular Question
Dec
12
awarded Yearling
Dec
12
answered Rails - simple form
Dec
11
answered jquery ui draggable--how to drag an element from iframe into a <input type=text>
Dec
10
comment jquery ui draggable--how to drag an element from iframe into a <input type=text>
If both the iframe is not from same domain as parent, it can't be done at least in Chrome. Are they from same origin and which browser you are using?
Dec
10
comment Ajax Query on Jquery Autocomplete success
Without a chance to see actual code working it is all guesswork. Can you try checking if you see any error in JS console. JS code looks good for me.
Dec
10
answered making an image a link with link_to image_tag
Dec
10
comment making an image a link with link_to image_tag
Get rid of the space after link_to It is unncessary and is causing problem. Apart from that everything looks good.
Dec
10
comment form_for doesn't submit fields to database
It would be helpful to include model as well. It looks like from log that youur action is receiving parameters correctly and problem is in line Kejsu.new(params[:kejsu])
Oct
14
asked Why does Rails add semi-colon at the end of Javascript files and how to disable it?
Oct
14
answered Why does Rails add semi-colon at the end of Javascript files and how to disable it?
1 2 3 4 5