problem creating a html string from $("div.winsection>div.blockTitle").eq(intIndex);
Hey.
I am pretty new at this.
my problem is as follow:
I have several blocktitles in my html. I want to create a menu from these.
I use the code below to add them. But when i try to put them into the menu i just writes [object Object] instead of the block title. What am i doing wrong here ???
- var menutext = "";
- $( "div.winsection>div.blockTitle" ).each(
- function( intIndex ){
- menutext = menutext + $("div.winsection>div.blockTitle").eq(intIndex);
- menutext = menutext + "<br>";
- }
- );
- $("div#automenu").html(menutext);
/rasmus