RSS Feed/News Problems finding selector in ajax form submission

Status
Not open for further replies.

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
23,678
Points
823

Reputation:

Hi all,

When I try to use an ajax submit and use the replace it with a selector elsewhere it returns an error "Could not find new selector '.theSelector'

The way I have structured this is similar to use something similar to the Demo notepad tool. I have a Macro that looks like

PHP:

Code:
<xf:macro name="otb" arg-otb="!" arg-thread="!">
    <xf:js src="otb/otb.js"/>

<xf:form action="{{ link('otb/save', $otb)}}"
                 class="block otb" ajax="1"...

Read more

Continue reading...
 
Status
Not open for further replies.
Top