Vladislav Vorobiev wrote:
> Hi,
> 
> I hope this list is right for my concern.
> 
> I try to send parameter from "form" *and* kssattr.
> 
> Something like this:
> 
> <form>
> <input name="bla' value="bla" />
> <div class="inlineEdit kssattr-inputId-email">blabla</div>
> </form>
> 
> My kss:
> 
> .inlineEdit:click {
> action-server: inlineEdit;
> inlineEdit-value: currentFormVar(value);
> inlineEdit-inputId: kssAttr(inputId);
> }
> 
> It does not work. inlineEdit script get only inputId in the request.
> It need form variables too.
> 
> Any Ideas? How I can do this?
> 

This should be :

.inlineEdit:click {
     action-server: inlineEdit;
     inlineEdit-value: currentFormVar(bla);
     inlineEdit-inputId: kssAttr(inputId);
}

because the argument to currentFormVar value provider is the input "name"

HTH
-- 
Godefroid Chapelle (aka __gotcha) http://bubblenet.be
_______________________________________________
Kss-devel mailing list
[email protected]
http://codespeak.net/mailman/listinfo/kss-devel

Reply via email to