点击功能无法在iPhone浏览器Safari 9上运行

时间:2017-10-13 06:59:26

标签: javascript jquery safari

我实现了一个点击功能,但它在iPhone上的Safari浏览器9中不起作用,它在其他浏览器上运行良好。我正在使用jQuery JavaScript Library v1.12.4

我的代码如下:

$(".signup-btn").click(function() {
    $(".prelogin").fadeIn();
    $(".login-screen").fadeOut();
});

我不知道该怎么做。

1 个答案:

答案 0 :(得分:0)

试试这个,

   <px:PXLayoutRule runat="server" StartRow="True" StartColumn="True"  GroupCaption="Buyer (Receiver)" StartGroup="true"  ColumnSpan="3"/>

                <px:PXLayoutRule runat="server"  StartColumn="True" ColumnWidth="XM" />

                <px:PXSegmentMask CommitChanges="True" ID="edCustomerID" runat="server" DataField="CustomerID" DataSourceID="ds" />

                <px:PXLayoutRule runat="server" StartRow="True" StartColumn="True" ColumnWidth="XM" />
                <px:PXTextEdit ID="edRecipientTaxRegistrationID" runat="server" DataField="RecipientTaxRegistrationID" Enabled="False" CommitChanges="True" AlreadyLocalized="False" DefaultLocale="" />
                <px:PXCheckBox ID="edRecipientIsForeignCitizen" runat="server" DataField="RecipientIsForeignCitizen"  AlreadyLocalized="False"  Enabled="false"/>

                <px:PXLayoutRule runat="server" StartColumn="True" ColumnWidth="XM" />
                <px:PXTextEdit ID="edRecipientName" runat="server" DataField="RecipientName" Enabled="False" AlreadyLocalized="False" DefaultLocale="" />


                <px:PXLayoutRule runat="server" StartColumn="True" ColumnWidth="XM" />
                <px:PXTextEdit ID="edRecipientDestinationAddress" runat="server" DataField="RecipientDestinationAddress" CommitChanges="True" AlreadyLocalized="False" DefaultLocale="" />