You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to retrieve my game_id from my user database and trying to set the selectedindex so when user trying to edit their profile, it will show the game that was set previously.
I have 3 games in my dropdown.
Right now I am trying to initialise the plugin like this by setting a number to it before replacing it with my database data :
$('#myDropdown').ddslick({
defaultSelectedIndex:2
});
But apparently the plugin does not work. It keeps showing the 1st game in the list no matter what number I set. Are there anyone here who can help me out with this please? Thanks in advance!
The text was updated successfully, but these errors were encountered:
I am trying to retrieve my game_id from my user database and trying to set the selectedindex so when user trying to edit their profile, it will show the game that was set previously.
I have 3 games in my dropdown.
Right now I am trying to initialise the plugin like this by setting a number to it before replacing it with my database data :
$('#myDropdown').ddslick({
But apparently the plugin does not work. It keeps showing the 1st game in the list no matter what number I set. Are there anyone here who can help me out with this please? Thanks in advance!
The text was updated successfully, but these errors were encountered: