<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.us.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>7 Jan 2018 13:44:00 Z</lastBuildDate><pubDate>6 Jan 2018 23:53:00 Z</pubDate><description>Hello All,&#13;
&#13;
I need to pass data to a JS function that is formatted as JSON. if I use a button to create the data and call a local browser JS function and pass the data as a string.&#13;
&#13;
[ { "title":"Jim Longer", "id":"1234", "start":"2018-01-12T10:30:00", "end":"2018-01-12T12:30:00" }, { "title":"Steve Smith", "id":"14", "start":"2018-03-12T10:30:00", "end":"2018-03-12T12:30:00" } ]&#13;
The function does not work.&#13;
If I hard code it in the JS function it works.&#13;
var eventData = [{"title":"Joe Moe","id":"123","start":"2018-01-12T10:30:00","end":"2018-01-12T12:30:00"},{"title":"Bill Smith","id":"456","start":"2018-01-14T10:30:00","end":"2018-01-14T12:30:00"}]&#13;
code of Function:&#13;
function lbp_FilterCalendar(sData){ $('#A1').fullCalendar({ header: { center: 'week,twoweek,threeweek,fourweek' // buttons for switching between views }, defaultView: 'week', editable: true, eventLimit: true, // allow "more" link when too many events events: sData, views: { week: { type: 'basic', /* 'basicWeek' ?? */ duration: { weeks: 1 }, buttonText: '1 Week' }, twoweek: { type: 'basic', duration: { weeks: 2 }, buttonText: '2 Week' }, threeweek: { type: 'basic', duration: { weeks: 3 }, buttonText: '3 Week' }, fourweek: { type: 'basic', duration: { weeks: 4 }, buttonText: '4 Week' } } }); }&#13;
Thanks DW</description><ttl>30</ttl><generator>WEBDEV</generator><language>en_US</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/63874-webdev-22-pass-paramter-function/read.awp</link><title>Webdev 22 pass paramter to JS function</title><managingEditor>moderateur@pcsoft.fr (El moderador)</managingEditor><webMaster>webmaster@pcsoft.fr (El webmaster)</webMaster><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/63874-webdev-22-pass-paramter-function-63886/read.awp</comments><pubDate>7 Jan 2018 13:44:00 Z</pubDate><description>Hello Fabrice,&#13;
&#13;
I solved it.&#13;
&#13;
The function needed the data to be a JSON object not a sting. Windev (Or I for that matter) wa…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/63874-webdev-22-pass-paramter-function-63886/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/63874-webdev-22-pass-paramter-function-63886/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/63874-webdev-22-pass-paramter-function/read.awp">Webdev 22 pass paramter to JS function</source><title>Re: Webdev 22 pass paramter to JS function</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/63874-webdev-22-pass-paramter-function-63882/read.awp</comments><pubDate>7 Jan 2018 12:55:00 Z</pubDate><description>Hi Dennis&#13;
&#13;
from your description, I'm guessing that your wlanguage code is incorrect, but as it's the ONE thing your are NOT s…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/63874-webdev-22-pass-paramter-function-63882/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/63874-webdev-22-pass-paramter-function-63882/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/63874-webdev-22-pass-paramter-function/read.awp">Webdev 22 pass paramter to JS function</source><title>Re: Webdev 22 pass paramter to JS function</title></item></channel></rss>
