Displaying 1 result from an estimated 1 matches for "adderror".
Did you mean:
ad_error
2012 May 24
3
rails ajax issues
...ot;
<strong><%= *@number*%></strong> added
</div>
Here is my ajax part
*header.js*
*
*
$(".*addsubmit*").click(function() {
var bnum = $("#bnum").val();
var dataString = ''bnumber=''+ bnum;
if(bnum=='''' )
{
$(''.adderror'').fadeIn(300).show();
$(''.adderror'').fadeOut(3000);
}
else
{
$.ajax({
type: "POST",
url: "http://localhost:3000/bpages/add",
data: dataString,
success: function(){
$(''.adddtl'').fadeIn(200).show();
$(".adddtl").fadeOut(30...