Curious if anyone knows what the difference is in regards to the data parameter.
I have a $.post
method that takes a $('#myform').serialize()
as my data param and works.
If I try the same using the $.ajax()
approach, it doesn't work as my data param doesn't appear correct.
Does anyone know the difference and what I might use instead of the above .serialize
?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…