[WebDNA] An issue with Ajax or maybe my WebDNA code... voting system, sample

This WebDNA talk-list message is from

2018


It keeps the original formatting.
numero = 114265
interpreted = N
texte = 1870 --Apple-Mail=_13418ACD-7333-4E07-A241-CCA4BB317B0B Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii H all I have started an additional development to my forum system = (macnyt.dk/forum ) where you can Like = (plus/minus) posts within a thread. For this I have taken the AJAX = Module (and slimmed net down to y needs) code provided by Terry Wilson = (posted on webdna.us ) as I would like for any = plus/minus vote to appear instantly on the very same page where the = voters evaluates a forum post - hense the Ajax approach. http://webdna.us/page.dna?numero=3D314 = So I have build a sample code which actually works 95% but I have = encountered a problem which I can not fix nor can I understand where the = issue is located. My challenge is that Would like to have the accumulated posts printet = within the area. The current code prints in one place regardless of this = area the code comes from. In other words. If I press YES in Area 1 then = I would like to have the accumulated YES votes printed just below the = relevant area 1 and not in any other area. The the place to print is = called [hotspot] and is located in the index.dna file. I have provide the source code of my development with courtesy of Terry = code on the following link. If you are interested in helping out then = download the .zip file and place it in your root folder - it should work = out of the box. http://www.macnyt.dk/evaluate.zip Actual in operation can be seen at http://www.macnyt.dk/evaluate/ If I have not made my problem clear enough, do not hesitate to ask = within this thread. /Palle= --Apple-Mail=_13418ACD-7333-4E07-A241-CCA4BB317B0B Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii
H = all

I have = started an additional development to my forum system (macnyt.dk/forum) where = you can Like (plus/minus) posts within a thread. For this I have taken = the AJAX Module (and slimmed net down to y needs) code provided by Terry = Wilson (posted on webdna.us) = as I would like for any plus/minus vote to appear instantly on the very = same page where the voters evaluates a forum post  - hense the Ajax = approach.


So I have build a sample = code which actually works 95% but I have encountered a problem which I = can not fix nor can I understand where the issue is located.

My challenge is that = Would like to have the accumulated posts printet within the area. The = current code prints in one place regardless of this area the code comes = from. In other words. If I press YES in Area 1 then I would like to have = the accumulated YES votes printed just below the relevant area 1 and not = in any other area. The the place to print is called [hotspot] and is = located in the index.dna file.

I have provide the source code of my = development with courtesy of Terry code on the following link. If you = are interested in helping out then download the .zip file and place it = in your root folder - it should work out of the box.


Actual in operation can be seen = at


If I have not made my problem clear = enough, do not hesitate to ask within this thread.

/Palle
= --------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list talk@webdna.us To unsubscribe, E-mail to: talk-leave@webdna.us archives: http://www.webdna.us/page.dna?numero=3D55 Bug Reporting: support@webdna.us --Apple-Mail=_13418ACD-7333-4E07-A241-CCA4BB317B0B-- . Associated Messages, from the most recent to the oldest:

    
  1. [WebDNA] An issue with Ajax or maybe my WebDNA code... voting system, sample (Palle Bo Nielsen 2018)
  2. [WebDNA] An issue with Ajax or maybe my WebDNA code... voting system, sample (Palle Bo Nielsen 2018)
1870 --Apple-Mail=_13418ACD-7333-4E07-A241-CCA4BB317B0B Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii H all I have started an additional development to my forum system = (macnyt.dk/forum ) where you can Like = (plus/minus) posts within a thread. For this I have taken the AJAX = Module (and slimmed net down to y needs) code provided by Terry Wilson = (posted on webdna.us ) as I would like for any = plus/minus vote to appear instantly on the very same page where the = voters evaluates a forum post - hense the Ajax approach. http://webdna.us/page.dna?numero=3D314 = So I have build a sample code which actually works 95% but I have = encountered a problem which I can not fix nor can I understand where the = issue is located. My challenge is that Would like to have the accumulated posts printet = within the area. The current code prints in one place regardless of this = area the code comes from. In other words. If I press YES in Area 1 then = I would like to have the accumulated YES votes printed just below the = relevant area 1 and not in any other area. The the place to print is = called [hotspot] and is located in the index.dna file. I have provide the source code of my development with courtesy of Terry = code on the following link. If you are interested in helping out then = download the .zip file and place it in your root folder - it should work = out of the box. http://www.macnyt.dk/evaluate.zip Actual in operation can be seen at http://www.macnyt.dk/evaluate/ If I have not made my problem clear enough, do not hesitate to ask = within this thread. /Palle= --Apple-Mail=_13418ACD-7333-4E07-A241-CCA4BB317B0B Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii
H = all

I have = started an additional development to my forum system (macnyt.dk/forum) where = you can Like (plus/minus) posts within a thread. For this I have taken = the AJAX Module (and slimmed net down to y needs) code provided by Terry = Wilson (posted on webdna.us) = as I would like for any plus/minus vote to appear instantly on the very = same page where the voters evaluates a forum post  - hense the Ajax = approach.


So I have build a sample = code which actually works 95% but I have encountered a problem which I = can not fix nor can I understand where the issue is located.

My challenge is that = Would like to have the accumulated posts printet within the area. The = current code prints in one place regardless of this area the code comes = from. In other words. If I press YES in Area 1 then I would like to have = the accumulated YES votes printed just below the relevant area 1 and not = in any other area. The the place to print is called [hotspot] and is = located in the index.dna file.

I have provide the source code of my = development with courtesy of Terry code on the following link. If you = are interested in helping out then download the .zip file and place it = in your root folder - it should work out of the box.


Actual in operation can be seen = at


If I have not made my problem clear = enough, do not hesitate to ask within this thread.

/Palle
= --------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list talk@webdna.us To unsubscribe, E-mail to: talk-leave@webdna.us archives: http://www.webdna.us/page.dna?numero=3D55 Bug Reporting: support@webdna.us --Apple-Mail=_13418ACD-7333-4E07-A241-CCA4BB317B0B-- . Palle Bo Nielsen

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

Setting up shop (1997) Under Score (1999) WebCatalog2 Feature Feedback (1996) Max Record length (1997) GD Spam (2003) Rhapsody? (1997) FW: 2.01 upgrade problems (1997) WebCat2b14MacPlugIn - [include] doesn't hide the search string (1997) Webcat causing crashes left and right! (1997) Location of Browser Info.txt file (1997) File not found error message (1998) triggers (2003) Listserver problem (1997) Password protect (2000) Round up prices (2000) Initiating NewCart (1997) all records returned. (1997) Possible Bug in 2.0b15.acgi (1997) THANKS!!! ShipCosts.db and debugging (1997) using showpage and showcart commands (1996)