SoFunction
Updated on 2025-03-09

Solution to the problem of dynamically generating select tags by jquery html

Today I use jquery and json to get a list from the background, and prepare to display it in the foreground using a dynamically generated select tag...

The result cannot be displayed, dynamically generating input, a can be done

Finally, I randomly knocked a bunch of 111111111111111111111111111111111111111111111111

Then the select appears

Suspected that it might be related to spaces, so I added a &nbsp in front of select, but there was no response

Afterwards, I tried various methods, but it still couldn't

Then change from Sogou browser to IE, FIREFOX,

No problem

I realized it was a browser problem... I wasted more than 3 hours and was speechless

Sogou browser is also quite tricky...

Never go to the current station in the future