4 Replies - 338 Views - Last Post: 07 October 2013 - 12:47 AM

#1 behonest  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 12
  • Joined: 05-June 13

lable valu change

Posted 07 October 2013 - 12:23 AM

i want to change label value when i select the value from the selected option . how can i change it
Is This A Good Question/Topic? 0
  • +

Replies To: lable valu change

#2 jimzcoder  Icon User is online

  • D.I.C Regular

Reputation: 54
  • View blog
  • Posts: 331
  • Joined: 14-November 12

Re: lable valu change

Posted 07 October 2013 - 12:28 AM

you can use AJAX/Javascript can do it.
have you tried reading this 1 from the other forum?
javascript
this isn't the straight answer but you can surely get ideas from it and can possibly get you started.
Was This Post Helpful? 0
  • +
  • -

#3 behonest  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 12
  • Joined: 05-June 13

Re: lable valu change

Posted 07 October 2013 - 12:33 AM

but i want to change the label value from the table.
Was This Post Helpful? 0
  • +
  • -

#4 jimzcoder  Icon User is online

  • D.I.C Regular

Reputation: 54
  • View blog
  • Posts: 331
  • Joined: 14-November 12

Re: lable valu change

Posted 07 October 2013 - 12:37 AM

in javascript you can use document.getElementById() and do what you have to do with the selected element.
much better if you can provide some code of what you have already tried.
Was This Post Helpful? 0
  • +
  • -

#5 Dormilich  Icon User is offline

  • 痛覚残留
  • member icon

Reputation: 3530
  • View blog
  • Posts: 10,174
  • Joined: 08-June 10

Re: lable valu change

Posted 07 October 2013 - 12:47 AM

Quote

i want to change label value when i select the value from the selected option

not possible in PHP.

moving to Java­Script forum
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1