|
You cant access other web site using AJAX. AJAX can only access the pages that are within the same virtual directory.
Say your page which calls the AJAX is
http://www.abc.com/mno.aspx
And it calls
xmlHttpRequest.open('http://www.abc.com/xyz.aspx')
it will work fine but
xmlHttpRequest.open('http://www.xyz.com/abc.aspx') will give "Access Denied"
Hope you understand.
|
|
|
|
|
Hello everyone!
I have a problem with dropdownlist choice selection. I made 3 dropdownlists date month year for entering date of birth. For checking 31 or 30 and leap year i have to enabe autopost back..is there any way that without post back i can modify lists or change as i have seen in many websites..
|
|
|
|
|
You have posted the same question in asp.net forum and Its answered.
|
|
|
|
|
Dear All,
Can we receive Broadcasted messages on web (asp.net using c#).
Regards
Jalsa
|
|
|
|
|
|
Hi, when an asx file is played on the windows media player, i need to check if the user is logged in or registered. Can I do this on asx? Thank you.
|
|
|
|
|
asx is a media file format. why dont you check the user validation from within the page.
I dont know if the media format supports http calls to the server or not. You must load the media after checking the login status of the user.
|
|
|
|
|
Hi!
I'd like know if somebody know how get open windows name?
I want get a collection of all the open windows. I know in VB.NET, but dont know in DHTML/VBScript for Windows Vista Sidebar.
If somebody can help me, I'll to stay grateful! Thanks
Erik
|
|
|
|
|
in php you'd do this: Grab Title[^]
Maybe you can translate that into your code...
|
|
|
|
|
Hi,
I want to get the ID value or class value of my current DIV's parent using ASP. Does anybody have any idea regarding how to achieve this?
<div class="parent" ID="parent_ID">
<div class="child" ID="child_ID">
<%
tmp = <ASP code to get the "parent" DIV's class/ID value>
if tmp="parent" then
do something
else
do some more thing
end if
%>
</div>
</div>
Please help!!!
Thanks
- Jills
modified on Monday, August 3, 2009 3:27 AM
|
|
|
|
|
This looks like you're using ASP, which you said. ASP.NET replaced ASP about 7 years ago. ASP questions go in the web dev forum.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
Christian Graus wrote:
ASP questions go in the web dev forum.
Sorry for posting it in the wrong section. How can I move this to webdev forum?
Regards
Jills
|
|
|
|
|
I'll move it.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
I Don't think this can be done. Theres no way of knowing the values of the ID's above in ASP3.
Please correct me if i'm wrong!
|
|
|
|
|
Thanks senorbadger for the reply.
We will get the value in client side using javascript code:
this.parentNode.getAttribute('class')
But I want to do it in server side. Our website is built using ASP.
Regards,
Jills
|
|
|
|
|
I have seven to eight pages in my web. What should i do if i want to make same changes in all the pages. Rite now i open every page separately and do it sequentially. Is there any technique that i can make same change to all web pages at once?
|
|
|
|
|
yes.
1) Use a tool with a "Find and Replace All" tool (such as dreamwevaer)
or
2) use functions and / or include files. For example in PHP:
-------------------
File "a.php":
hello
-------------------
File "b.php":
world!
-------------------
opening file b.php will output:
"hello world!"
|
|
|
|
|
How do I change active view when ScriptManagers OnNavigate event fires?
On button control click all is ok, however, when user clicks browsers back button fires OnNavigate.
It allows to change label.text property and it displays correct, but multiview shows old view.
It`s nothing to wory before something happen and when it happents it`s alredy to late to wory!
|
|
|
|
|
I am assuming you know nothing about AJAX ( which has no OnNavigate event ) and you're using the ASP.NET AJAX library, in which case, this is the wrong forum.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
Hey,
I was just wondering what kind of coding environment people prefer for web development? There are so many options, but I'm more interested in what is generally an industry standard. I guess the question comes down to, do most people (personal preference and in industry) _really_ prefer text editors?
I guess everywhere on google people's comments come down to bashing visual-aided environments (things like Dreamweaver) and take pride in using text editors/notepad. Is this really the case?
I'd appreciate if anyone can shed some light on the topic, I don't really do web development in industry, but rather make personal sites for fun so I'm a little curious
Thanks,
See_Sharp
|
|
|
|
|
I tend to hand code at the beginning, using notepad, but then, as sites become bigger and more complex I will use VWD, but just to keep track of things.
------------------------------------
"When Belly Full, Chin Hit Chest"
Confucius 502BC
|
|
|
|
|
Generally whatever is right or you are comfortable with.
Personally I tend to develop using dreamweaver's code view under windows. But I have also used notepad, notepad++ and Aptana Studio.
When I'm working on a linux box I'll use aptana, but it adds so many extra files to the project - it can be a pain to maintain (i havent found an easy cleanup option), so I won't use it on Windows. It does have a good intellisense stylee code helper tool. and automatic code generation for all the basics (getters/setters).
Dreamweaver does make coding easy with code completion etc and the inbuilt filemanager is nice and responsive. DW also has an excellent site manager for working with dynamic sites and minimising the time spent tralling through dialogues to get to your "images" folders.
If I need an editor on clients servers, I tend to use notepad++ on windows (small footprint + code colouring) or VI on Linux (Good for quick modifications when remotely connecting using SSH).
Oh and dispite the fact I use it less and less these days, the visual editor has helped me solve many errors such as positioning issues over the years (DW shows you where the paddings and margins actually are - rather than relying on the space between elements in the browser). The properties box also saves the time of having to look up image sizes - on click and it writes them for you (in nice tidy code I might add).
Hmm... Guess I'm a Dreamweaver fan.
|
|
|
|
|
Visual Studio works for me, but most of my web development is for ASP.NET.
When I code otherwise, I really like UltraEdit[^]. It's hard to call it "just a text editor" anymore.
|
|
|
|
|
hiiii to all
any one can tell me how to send sms like
INTERNET ur message
send this to 5555
by asp.net
like business companies doing
they providing
WORD YOUR NAME
SEND THIS TO 5555
Like that
rizvan sivally
|
|
|
|
|
I guess if you can't work out how to not double post, or how to use the ASP.NET forum, or how to use google, one has to wonder what you'd be able to do with any replies you got.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|