Difference between revisions of "Talk:Ajax links example"
(Try now, that index bug should be fixed) |
|||
Line 1: | Line 1: | ||
+ | |||
+ | == Replace DIV Content with On-screen Form Fields == | ||
+ | |||
+ | Is there a way to populate the content of a DIV with the contents of user-entered form fields, WITHOUT having to create an article in the process? | ||
+ | |||
+ | I want to be able to do SemanticWiki queries (ie, #ASK) with limits provided by on-screen form fields (text entry boxes and SELECTS | ||
+ | |||
+ | I have it working with an intermediate page, but the problem is multiple users step on each other. | ||
+ | |||
+ | What I want to do is have AJAX update the content of a div with an embedded ASK in it. \ | ||
+ | |||
+ | Can this be done? | ||
+ | |||
+ | --[[User:DG|DG]] 04:11, 16 November 2008 (NZDT) | ||
+ | |||
Is the http://mootools.net/ accessible on OD? I cannot get this example to work either now --[[User:Sven|Sven]] 12:01, 26 June 2007 (NZST) | Is the http://mootools.net/ accessible on OD? I cannot get this example to work either now --[[User:Sven|Sven]] 12:01, 26 June 2007 (NZST) | ||
:Oops, fixed now - it was the new [[MW:Extension:Javascript|extension for loading the JS scripts]] --[[User:Nad|Nad]] 12:35, 26 June 2007 (NZST) | :Oops, fixed now - it was the new [[MW:Extension:Javascript|extension for loading the JS scripts]] --[[User:Nad|Nad]] 12:35, 26 June 2007 (NZST) |
Latest revision as of 15:11, 15 November 2008
Replace DIV Content with On-screen Form Fields
Is there a way to populate the content of a DIV with the contents of user-entered form fields, WITHOUT having to create an article in the process?
I want to be able to do SemanticWiki queries (ie, #ASK) with limits provided by on-screen form fields (text entry boxes and SELECTS
I have it working with an intermediate page, but the problem is multiple users step on each other.
What I want to do is have AJAX update the content of a div with an embedded ASK in it. \
Can this be done?
--DG 04:11, 16 November 2008 (NZDT)
Is the http://mootools.net/ accessible on OD? I cannot get this example to work either now --Sven 12:01, 26 June 2007 (NZST)
- Oops, fixed now - it was the new extension for loading the JS scripts --Nad 12:35, 26 June 2007 (NZST)
Can't get this to work
I can't seem to get this extension working. I get several, possibly, related errors:
At the bottom of every page I get:
PHP Notice: Undefined index: SERVER_ADDR in C:\Inetpub\wwwroot\mediawiki\extensions\SimpleForms\SimpleForms.php on line 33
When I try to use some of the simple examples provided, I get a similar error. For example placing
{{#input:type=ajax|format=link|update=example3|content=[[foo]]|THREE}} <div id=example3>''this is a '''div''' with '''id''' set to '''example3'''''</div>
on a page and then clicking the link, results in the div's content being replaced with:
Error: 500 OK (PHP Notice: Undefined index: SERVER_ADDR in C:\Inetpub\wwwroot\mediawiki\extensions\SimpleForms\SimpleForms.php on line 33 PHP Fatal error: Call to a member function getNamespace() on a non-object in C:\Inetpub\wwwroot\mediawiki\extensions\SimpleForms\SimpleForms.php on line 454 )
I'd appreciate any insights into what might be going wrong.
I'm, running MediaWiki 1.12.0, PHP 5.2.5 (cgi-fcgi), MySQL 5.0.24-community-nt, on Windows 2003 R2, IIS 6.0. -- Aldaron 02:38, 12 July 2008 (NZST)
- Try now, that index bug should be fixed --nad 10:04, 12 July 2008 (NZST)