开发者

How to pass userpref variables in an igoogle widget

开发者 https://www.devze.com 2023-04-08 05:28 出处:网络
Hi I\'ve made my igoogle app simple though it is basically using an xml/php file and getting a series of articles and displaying them. Simple and nice.

Hi I've made my igoogle app simple though it is basically using an xml/php file and getting a series of articles and displaying them. Simple and nice.

Now I just need to finish it off with passing how many stories the use would like to sh开发者_如何学Cow. I've got the dropdown working for when they click edit settings in the google area but I'm at a loss on how to pass the information back to my php/xml file and display the number of stories the user has selected.

Can anyone help.


There is a brief document about working with userpref. it may help you. Check this Google document and also they listed how to deal with remote content in two type GET AND POST, check this document also working with remote content


do a <form>

with auto-submit

<select name='myfield' onchange='this.form.submit()'>
<option .... >
...
</select>
</form>

then you got $_POST['myfield']

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号