adding content to a generated tab in JQuery -
I added it to my already existing JQuery tab:
function createTab (name ) {// This standard method will add a tab through $ ("# tab"). Tab ("add", "# piece-4", name); $ ("# Piece-" + name). CSS ("display", "block"); }
My question is, what is syntax that allows me to create content inside a newly created tab?
Just adding the devices you are adding:
$ ('# Fragment4'). Html ('Content Added via JS');
Comments
Post a Comment