English 中文(简体)
页: 1
原标题:Rails 3/JQuery Form Repeated on the Page

我的表格类似:

<Form (Unique Form ID) (Common Form Class)>
Some Value: <select_list_element> <submit_button> <image_tag_for_progress_indicator>
<Form Close Tag>

相对直截了当——重复了20x页。 基本目的是让用户填写表格清单,更新彼此之间的数值,然后移走。

为了让它成为小nic子,Im通过美国宇宙航空研究开发机构提交划界案,希望能够表明情况正在更新。 然而,我似乎无法正确工作——这里使用的是一毫瓦底:

$( (Common Form Class) )
.bind( ajax:loading , function(){ $(this).find( (image tag class ).attr( src ,  (spinning gif) ); })
.bind( ajax:success , function(){ $(this).find( (image tag class ).attr( src ,  (success gif) ); })
.bind( ajax:failure , function (){ $(this).find( (image tag class ).attr( src ,  (failure gif) ); })

我的99%肯定是,我错了“这”的用法,但我看不出为什么。

最佳回答

可悲的是,(或者说不难) 我的法典并不这样。 铁路公司决定更新美国航天公司的活动,现在“黑轴:卸载”不再正确,现在的“黑轴:前端”就错了。

Hope someone sees this and is able to correct their own code.

这里是一部具有正确性的教学:

问题回答

在请求/答复中,你有麻烦吗? 您是否确认了提交的形式,但没有回复?

你们是否利用铁路三轮铁路(铁路)来协助提交表格?

另外,你们如何知道更新非洲复兴开发银行成果的哪些形式?





相关问题
selected text in iframe

How to get a selected text inside a iframe. I my page i m having a iframe which is editable true. So how can i get the selected text in that iframe.

How to fire event handlers on the link using javascript

I would like to click a link in my page using javascript. I would like to Fire event handlers on the link without navigating. How can this be done? This has to work both in firefox and Internet ...

How to Add script codes before the </body> tag ASP.NET

Heres the problem, In Masterpage, the google analytics code were pasted before the end of body tag. In ASPX page, I need to generate a script (google addItem tracker) using codebehind ClientScript ...

Clipboard access using Javascript - sans Flash?

Is there a reliable way to access the client machine s clipboard using Javascript? I continue to run into permissions issues when attempting to do this. How does Google Docs do this? Do they use ...

javascript debugging question

I have a large javascript which I didn t write but I need to use it and I m slowely going trough it trying to figure out what does it do and how, I m using alert to print out what it does but now I ...

Parsing date like twitter

I ve made a little forum and I want parse the date on newest posts like twitter, you know "posted 40 minutes ago ","posted 1 hour ago"... What s the best way ? Thanx.

热门标签