diff options
author | Friendika <info@friendika.com> | 2011-02-12 03:42:57 -0800 |
---|---|---|
committer | Friendika <info@friendika.com> | 2011-02-12 03:42:57 -0800 |
commit | ee46a028d6e443d4cffcd24a99871d88089a93c9 (patch) | |
tree | 5152669744a55e90b8840fc55f1ece2134040f71 /include | |
parent | 3d9845f4a45f963161e31fe18d69ed31e38af003 (diff) | |
download | volse-hubzilla-ee46a028d6e443d4cffcd24a99871d88089a93c9.tar.gz volse-hubzilla-ee46a028d6e443d4cffcd24a99871d88089a93c9.tar.bz2 volse-hubzilla-ee46a028d6e443d4cffcd24a99871d88089a93c9.zip |
more test ajax comments
Diffstat (limited to 'include')
-rw-r--r-- | include/main.js | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/include/main.js b/include/main.js index 63b34bd21..afe968daf 100644 --- a/include/main.js +++ b/include/main.js @@ -210,3 +210,16 @@ $('#panel').hide(); } + function post_comment(id) { + var typename = 'f-type-' + id; + var puidname = 'f-profile-uid-' + id; + var parname = 'f-parent-' + id; + var textname = 'comment-edit-text-' + id; + var type = $('input[id=typename]').val(); + var profile_uid = $('input[id=puidname]').val(); + var parent = $('input[id=parname]').val(); + var body = $('textarea[id=textname]').val(); + + alert(body); + + }
\ No newline at end of file |