Jump to content
Sign in to follow this  
joecool2005

Insert opening and closing HTML tag

Recommended Posts

Hi,

I have an html like this

                           <input type="submit" value="Submit" class="zoom_button" />
                            <span class="zoom_results_per_page">
                                <label for="zoom_per_page">Results per page:</label>
                                <select name="zoom_per_page" id="zoom_per_page">
                                    <option selected="selected">10</option>
                                    <option>20</option>
                                    <option>50</option>
                                    <option>100</option>
                                </select><br /><br />
                            </span>

I would like to insert the div tag like this

                      <div class="zoom_searchform">
                            <input type="submit" value="Submit" class="zoom_button" />
                            <span class="zoom_results_per_page">
                                <label for="zoom_per_page">Results per page:</label>
                                <select name="zoom_per_page" id="zoom_per_page">
                                    <option selected="selected">10</option>
                                    <option>20</option>
                                    <option>50</option>
                                    <option>100</option>
                                </select><br /><br />
                            </span>
                        </div>

How can I do that in javascript?

Thanks

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×