codetoad.com
  ASP Shopping CartForum & BBS
  - all for $20 from CodeToad Plus!
  
  Home || ASP | ASP.Net | C++/C# | DHTML | HTML | Java | Javascript | Perl | VB | XML || CodeToad Plus! || Forums || RAM 
Search Site:
Search Forums:
  i want to execute an url using javascript  rvikesh at 05:31 on Friday, April 28, 2006
 

i hav an url that i must to dyndns to update my dns data but i want to do it using javascript. anyone has a solution?

i have try using xmlhttprequest.

xmlhttp = new XMLHttpRequest();
xmlhttp.onreadystatechange=function()
{
if (xmlhttp.readyState==4)
{
alert("readyState:"+xmlhttp.readyState);
}
}
url = "http://test:test@members.dyndns.org/nic/update?system=dyndns&hostname=test.dnsalias.com&myip=196.27.82.171&wildcard=ON&offline=NO&mx=test&backmx=OFF";
alert(url);
xmlhttp.open("GET",url,true);

  Re: i want to execute an url using javascript  miteshbhimjiyaani at 05:34 on Saturday, April 29, 2006
 

yes
u can call that url in image src attribute.
also give image width and height zero.

<img src="url" width="0" height="0" broder="0">

so it will call ur url.









CodeToad Experts

Can't find the answer?
Our Site experts are answering questions for free in the CodeToad forums








Recent Forum Threads
•  help me i`m stuck
•  Re: loading external code
•  Help me
•  Add textbox entry to page after sumbit???
•  FTP help?
•  Checkbox, textbox, datagrid
•  About Traditional development methodlogy
•  About CASE TOOL
•  Installation Problems!


Recent Articles
What is a pointer in C?
Multiple submit buttons with form validation
Understanding Hibernate ORM for Java/J2EE
HTTP screen-scraping and caching
a javascript calculator
A simple way to JTable
Java Native Interface (JNI)
Parsing Dynamic Layouts
MagicGrid
Caching With ASP.Net


© Copyright codetoad.com 2001-2006