SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 4 of 4
  1. #1
    Member
    Join Date
    Oct 2006
    Posts
    55
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    How to get/enter data in combo box used Ajax?

    Hi every body!

    I don't know how to get/enter data in combo box used Ajax Technology.

    To enter value in combo by manually the first I must click on a image. Then choose one of data is generated from database.

    This is script generated when I record it in my webpage when enter data in combo box:

    B().P().Image("combo_box_arrow").Click
    B().P().WebElement("LTC").Click -->LTC is data I enter in combo box.

    It's is different from combo box I met. When we record combo box,it is weblist. And I easy to do get/enter data in it.

    But now, I can't get/enter data in combo box used Ajax.
    Who can help me?

    Thank you.
    Hoa Doan

  2. #2
    Moderator
    Join Date
    Jul 2005
    Location
    Delhi
    Posts
    15,575
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    7 Thread(s)
    Total Downloaded
    0

    Re: How to get/enter data in combo box used Ajax?

    Your problem is not clear to me. You are not able to idnetify the combo box or not able to set its value?

  3. #3
    Member
    Join Date
    Oct 2006
    Posts
    55
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: How to get/enter data in combo box used Ajax?

    Hi Tarun,

    I can't set its value.

    In manual, the script is recorded as following when setting its value:
    B("").P("").Image("combo_box_arrow").Click
    B("").P("").WebElement("LTC").Click -->"LTC" is string we enter.

    Now I want the string "LTC" is getting from DataTable. I did try as following:

    B("").P("").Image("combo_box_arrow").Click
    k="name:=" & DataTable("Pool_Name",dtLocalSheet)
    B("").P("").WebElement(k).Click

    But my script is wrong. Please help me correct it.

    Thank you very much.

  4. #4
    Moderator
    Join Date
    Jul 2005
    Location
    Delhi
    Posts
    15,575
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    7 Thread(s)
    Total Downloaded
    0

    Re: How to get/enter data in combo box used Ajax?

    It looks like a special case and i really cant comment till i get a hands-on the same. You need to understand how things are working on the web page and then only you will be able to do it.

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Search Engine Optimisation provided by DragonByte SEO v2.0.36 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 12.50%
vBulletin Optimisation provided by vB Optimise v2.6.4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.2.8 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominate (Lite) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 12:18 PM.

Copyright BetaSoft Inc.