Click here to Skip to main content
15,849,996 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Greetins,


I have a Jquery Panel Slider on the right side of a webpage. I have a contact us form inside this Jquery panel, on button click i have coded asp.net email.Now when i click submit button to send the data through mail, nothing is really happening. Though i have tested the email code it's working. Please tell me what could what could be the reason behind this nothing happening thing & how can i resolve issue and send the contact us data via email. I hope my point is clear.

Thanks in anticipation

Regards

additional information copied from non-Solution below
This is the Jquery Sider:-
<SCRIPT type="text/javascript"><!--Feedback-->
$(document).ready(function() {
var feed = $("#feedback"),
img = feed.children("img"),
formElems = feed.children("form, h3");

feed.css("display", "block").data("showing", false);
formElems.hide();

img.click(function() {
if(feed.data("showing") == true) {
feed.data("showing", false)
.animate({
marginRight: "-478px",
height: "362px",
padding: "0"
});
formElems.fadeOut("normal");
$(this).attr("src", "imag/feedback.png").css("top", "20px");
} else {
feed.data("showing", true)
.animate({
marginRight: "0",
height: "362px",
//padding: "10px"
});
formElems.fadeIn("normal");
$(this).attr("src", "imag/NewHide.jpg").css("top", "20px");

}
})
}); //end document ready

</SCRIPT>



This is the contact us form code:

XML
<table align="left" border="0" cellpadding="0" cellspacing="0" width="490">
                        <tr>
                            <td>
                                <table>
                                    <tr>
                                        <td style="width: 100px">
                                            <asp:Label ID="Label1" runat="server" Text="Name"></asp:Label></td>
                                        <td style="width: 139px">
                                            <asp:TextBox ID="txtname" runat="server"></asp:TextBox></td>
                                    </tr>
                                    <tr>
                                        <td style="width: 100px; height: 22px;">
                                            <asp:Label ID="Label2" runat="server" Text="Contact"></asp:Label></td>
                                        <td style="width: 139px; height: 22px;">
                                            <asp:TextBox ID="txtcontact" runat="server"></asp:TextBox></td>
                                    </tr>
                                    <tr>
                                        <td style="width: 100px">
                                            <asp:Label ID="Label3" runat="server" Text="Email"></asp:Label></td>
                                        <td style="width: 139px">
                                            <asp:TextBox ID="txtemail" runat="server"></asp:TextBox></td>
                                    </tr>
                                    <tr>
                                        <td style="width: 100px">
                                            <asp:Label ID="Label4" runat="server" Text="Location"></asp:Label></td>
                                        <td style="width: 139px">
                                            <asp:TextBox ID="txtlocation" runat="server"></asp:TextBox></td>
                                    </tr>
                                    <tr>
                                        <td style="width: 100px">
                                            <asp:Label ID="Label5" runat="server" Text="Type of Enquiry"></asp:Label></td>
                                        <td style="width: 139px">
                                            <asp:DropDownList ID="drdpquery" runat="server" Width="157px">
                                            </asp:DropDownList></td>
                                    </tr>
                                    <tr>
                                        <td style="width: 100px">
                                            <asp:Label ID="Label6" runat="server" Text="Message"></asp:Label></td>
                                        <td style="width: 139px">
                                            <asp:TextBox ID="txtmssg" runat="server" Height="139px" TextMode="MultiLine" Width="337px"></asp:TextBox></td>
                                    </tr>
                                    <tr>
                                        <td style="width: 100px">
                                        </td>
                                        <td style="width: 139px">
                                            <asp:Image ID="Image2" runat="server" />
                                            <asp:Button ID="Button1" runat="server" OnClick="Button1_Click2" Text="Button" /></td>
                                    </tr>
                                    <tr>
                                        <td style="width: 100px">
                                        </td>
                                        <td style="width: 139px">
                                            <asp:Label ID="Label7" runat="server" Text="Data Sent"></asp:Label></td>
                                    </tr>
                                    <tr>
                                        <td style="width: 100px">
                                        </td>
                                        <td style="width: 139px">
                                        </td>
                                    </tr>
                                </table>
                            </td>
                        </tr>
                    </table>
Posted
Updated 1-Aug-13 0:39am
v2
Comments
Please post the code. And yes, debug each line and see what is happening.
delhiegle 11-Aug-13 13:22pm    
Please take a look & try n help me..

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900