3

I want to try load a private webpage in uiwebview. When I try to open it from the native Safari app on my iPhone, everything works well.

But when I try to open in uiwebvie, the buttons on the webpage doesn't work. Buttons are as follows

<a class="actionButtonWithoutImg" href="javascript:__doPostBack('','')">Edit</a>

Do you have any idea ?

5
  • 1
    Please provide the rest of the markup on the page if possible. is __doPostBack('','') defined in the file you are loading? is it loaded from an external js file? also i would recommend you mark up those links in this manner: <a href="#" onclick="javascriptFunction();">link</a> Commented Dec 17, 2011 at 9:52
  • 1
    Thank You Ben. Javascript is not defined in external file. But i tried in another page <a href="#" onclick="javascriptFunction();">link</a> and href="javascript:__doPostBack('','')" both of them are working. I don't understand the problem... Commented Dec 17, 2011 at 10:58
  • so is the problem solved from that change..? Commented Dec 17, 2011 at 13:16
  • Unfortunately. I'm working on it. Not solved. Commented Dec 18, 2011 at 21:31
  • Are you using ASP.NET? See this: stackoverflow.com/questions/7275695/… Commented Feb 3, 2012 at 5:00

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.