New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ajax and back end code #77
Comments
Is your response in this format {
"suggestions": [
{
"tag": "Black",
"value": 1,
"background":"black",
"color":"white"
},
{
"tag": "White",
"value": 2,
"background":"white",
"color":"black"
}
]
} and are you returning json header properly? |
I am now returning this, but still not able to see it in the dropdown: { |
I know very little about C#. This might help you figure out whether you are spending a proper json response or not. |
I am returning the correct Json. I am placing a copy of the returned data in a div below for testing. This is my jquery code below. I am pulling data from a sql server and the result is not attaching to the dropdown:
|
Can you please inspect your html elements in some browser and see whether any stylings are overriding and hiding those suggestions list. |
I am not seeing any styling conflicts, but maybe you can identify the issue here. (still under development and will need a quick account since this is secured): https://www.voicer.net/userpages/crud/ajaxpage Your component works very well with the exception of this ajax/database call |
i am facing same issue as ajax not working. for me , its not initiating ajax call in network. below is my code snippet$('input[name="toAjax"]').amsifySuggestags({
|
@mitesh24shah24 |
I am using c# to return this json from a database. The dropdown list is not triggering but the Json is returning
["adoptdontshop","America","Approvalratings","Atlanta","Based","Basedmemes","bitcoin",
"blackcat","blackcatclub","blackcatlove","blackcatlover","blackcats","blackcatsmatter",
"striketober","TheGreatResignation","TopNews","TPUSA","TPUSALive","transparency","trilliondollarbill",
"uni","USA","VaccineNews","WhiteHouse","Winsomesears"]
The text was updated successfully, but these errors were encountered: