sweetalert
sweetalert copied to clipboard
add option inside select element
Is possible populate the options of a select element using sweetalert1. I know it is possible with sweetalert2 but unfortunately i need stick to sweetalert1.
swal({ content: { element: "select", } }
i add select tag using content but dont know what do next.
thanks in advance :)
any help for this point ?
Hi @ipehimanshu , you can find my solution here https://github.com/t4t5/sweetalert/issues/835