Search found 40 matches

by vasilis
Sun Jun 28, 2009 2:33 pm
Forum: HTML, CSS and other UI Design Technologies
Topic: How to capture a whole page through Ajax
Replies: 3
Views: 2080

Re: How to capture a whole page through Ajax

yes, it seems that that's what I was looking for.,,,thanks for the help.
by vasilis
Fri Jun 26, 2009 7:41 am
Forum: HTML, CSS and other UI Design Technologies
Topic: How to capture a whole page through Ajax
Replies: 3
Views: 2080

How to capture a whole page through Ajax

I have a list box in a site with which I capture a selected value with the onChange event using the capture_value() function (code listed below). This function passes 2 arguments, i.e., ' str ' which is the selected list box value and ' passed_url ' which is a passed url for running a php script (wh...
by vasilis
Mon Jun 15, 2009 12:40 pm
Forum: PHP - Code
Topic: how to pass a value from a list box to a php function
Replies: 5
Views: 1650

Re: how to pass a value from a list box to a php function

ok, after some ajax reading I tried the following: in the html file I added the hard-coded list box: <select name="select_list" onChange="capture_value(this.value)">             <option selected="selected" value=0>Select a value</option>             <option value="...
by vasilis
Fri Jun 12, 2009 6:51 pm
Forum: PHP - Code
Topic: how to pass a value from a list box to a php function
Replies: 5
Views: 1650

Re: how to pass a value from a list box to a php function

ok, thanks for the help. I already read a tutorial on Ajax and I think I started getting the picture. As I understand, I will just use the onChange event of the hard-coded list box, so when the user selects a value, this will be sent via the GET method to the php function of the cart that populates ...
by vasilis
Fri Jun 12, 2009 3:30 pm
Forum: Javascript
Topic: how to pass a value from a list box to a php function
Replies: 2
Views: 351

Re: how to pass a value from a list box to a php function

Is there any code example I could read to do your suggested method (I have very basic knowledge on Javascript, but enough to work things around if I found a code example that replicates my scenario as closely as possible).
by vasilis
Fri Jun 12, 2009 3:25 pm
Forum: PHP - Code
Topic: how to pass a value from a list box to a php function
Replies: 5
Views: 1650

Re: how to pass a value from a list box to a php function

ok, I understand the 1st solution with the separate form element but with this solution I think the list box would be output at a different spot in the page, whereas I would like it to appear on the same spot, i.e. just above the other list box (the reason is that since I would make a 2nd form this ...
by vasilis
Fri Jun 12, 2009 5:52 am
Forum: Javascript
Topic: how to pass a value from a list box to a php function
Replies: 2
Views: 351

how to pass a value from a list box to a php function

I have a page with a form which contains a select box which gets populated from a mysql table through a php function when the page runs. I have added a 2nd list box above the previous one with hard-coded option values (it is located in the same form). What I want to do is the following: When selecti...
by vasilis
Fri Jun 12, 2009 5:40 am
Forum: PHP - Code
Topic: how to pass a value from a list box to a php function
Replies: 5
Views: 1650

how to pass a value from a list box to a php function

I have a page with a form which contains a select box which gets populated from a mysql table through a php function when the page runs. I have added a 2nd list box above the previous one with hard-coded option values (it is located in the same form). What I want to do is the following: When selecti...
by vasilis
Wed May 31, 2006 2:54 am
Forum: PHP - Code
Topic: named anchors in dynamic content
Replies: 9
Views: 935

I did it the way you say and it works fine! Thanks
by vasilis
Mon May 29, 2006 3:53 am
Forum: PHP - Code
Topic: hierarchical multi-level database driven DHTML menus
Replies: 5
Views: 544

Actually, I wanted to ask you people in the forum if there really is any software (something like HierMenus) that helps the developer build database driven dhtml menus (since most of the ready made software builds static menus). If not, then my intention is to try to build them myself combining some...
by vasilis
Fri May 26, 2006 7:00 am
Forum: PHP - Code
Topic: named anchors in dynamic content
Replies: 9
Views: 935

I have tried the above code but nothing works. When I use the '#', e.g. <a href=product_list.php#$product_id?var1=$var1&var2=$var2>Return</a> , then when I get in the 'product_list.php' script in debugging mode (been using the Zend Development Environment), I get null values in the variables of ...
by vasilis
Fri May 26, 2006 3:45 am
Forum: PHP - Code
Topic: hierarchical multi-level database driven DHTML menus
Replies: 5
Views: 544

I checked the sites, lots of nice articles, but it seems that there is no any ready code that produces data driven hierarchical dhtml menus. One has to combine the logic of CSS with php coding and Javascript by him/herself in order to do the job...
by vasilis
Wed May 24, 2006 4:36 am
Forum: PHP - Code
Topic: named anchors in dynamic content
Replies: 9
Views: 935

but, that's exactly what my problem is... How do I redirect my users to the previous.php and at the specific link which they clicked? It seems that I can't use any named anchors in dynamically produced pages.
by vasilis
Tue May 23, 2006 4:28 pm
Forum: PHP - Code
Topic: hierarchical multi-level database driven DHTML menus
Replies: 5
Views: 544

hierarchical multi-level database driven DHTML menus

I have been searching trying to find articles ον creating Database Driven DHTML Menus using PHP. Javascript and MySQL as database server. As far as I know, there are not many such articles around, concerning dynamic data driven dhtml menus except some software which produce static dhtml menus (witho...
by vasilis
Tue May 23, 2006 11:05 am
Forum: PHP - Code
Topic: named anchors in dynamic content
Replies: 9
Views: 935

named anchors in dynamic content

In a project of mine I produce a dynamic page (product_list.php) with a list of products taken from a database. When I click on one of these products I get to another page which has info for this specific product (product_info.php) with a "Return" link on the bottom of the page. When I cli...