divsok 0 Newbie Poster

how can i submit a form when the page is loading..my code is here

<div id="main_div">
</div>

<s:form action="getpagethreads" id="ini">
   <sx:submit targets="main_div" value="submit" />
</s:form>

actually i don't need to show any buttons in my form...what can i do for that?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.