Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 264 results for
javscript
- Page 1
javscript in Master page
Programming
Web Development
15 Years Ago
by anuj_sharma
Hey guys, I'm trying to run a
javscript
on a page which also has a master page but it won't run. Please tell me the procedure for it.
Re: Javscript framework
Programming
Web Development
16 Years Ago
by hbmarar
… blog space : [url]http://saffrongeek.wordpress.com/2008/11/14/
javscript
-frameworks-web20-macro-comparison-scribble-1/[/url] Sure, Drew, Yous…
Eclipse Javscript content assist (Ctrl+space) is missing references.
Programming
Web Development
14 Years Ago
by >>> isaac = []
…>Advanced[/B] with no change. I was still getting
Javscript
functions, classes, and other data, with some major items missing…
Re: javscript in Master page
Programming
Web Development
15 Years Ago
by sknake
That doesn't really give us enough information to indicate what the problem may be other than "it doesn't work." Please give us a little more background on the issue. What I did to solve this for my master pages was putting a placeholder in the <head> tag of the master page: [code=asp.net] <%@ Master Language="C#" …
Re: javscript in Master page
Programming
Web Development
15 Years Ago
by anuj_sharma
Hey Guys, I have a button on my content and also has handler which is described in the C# file (code-behind). On the button click a calender pops up and the user is supposed to select a date. On selecting a date the date gets typed in a text box in the opener window. This was happening until i added a master page. Please Help..It's urgent...
Re: javscript in Master page
Programming
Web Development
15 Years Ago
by Ramesh S
Are you referring the textbox in the calendar popup? If you add master page and content place hodler controls, the name of the textbox will be rendered like ctl00_ContentPlaceHolder1_txtYourTextBoxName.. Therefore see the correct name in the view source and put it in your calendar popup code.
Re: javscript in Master page
Programming
Web Development
15 Years Ago
by anuj_sharma
I am referring to the textbox in my main page which open ups the calender. I've checked all the id's, all are correct.
Re: javscript in Master page
Programming
Web Development
15 Years Ago
by Ramesh S
Why don't you post some code? Is there any error message displayed?
Re: javscript in Master page
Programming
Web Development
15 Years Ago
by anuj_sharma
[code= asp.net] string strend = "ctl00_ContentPlaceHolder1_Text_edate"; String sb = "<script>window.opener.document.forms[0]." + strend + ".value = '" + Convert.ToString(edate) + "';" + "self.close();" +…
Re: javscript in Master page
Programming
Web Development
15 Years Ago
by peter_budo
@anuj576 I just joined all 3 post to related same JavaScript question. In the future DO NOT create new post just because you want to provide new info, stick to original thread and just post there with new updates
Javscript variables to Server-side
Programming
Web Development
17 Years Ago
by nikie20
I am working on a rating tool.The tool consists of 5 images (5-star rating) on clixk of the image i want to update my rate table (i.e on each click i incerement the count in the database).Currently i am trying out using ajax to run carry the rate value to my serverside code. my test.aspx is the following <script type="…
Re: Javscript variables to Server-side
Programming
Web Development
17 Years Ago
by IamGeek
These lines: var http = getHTTPObject(); // We create the HTTP Object } Under your getHTTPObject() function seem to be in the wrong place, and should be in dorender() instead.
Javscript Select onchange with ASP
Programming
Web Development
17 Years Ago
by TobbeK
Is any way to fill an ASP variable at clientside with javascript. I like to use that value to send as a string with a textlink like described below. <SELECT ONCHANGE="location = this.options[this.selectedIndex].value;"> <option value="">Choose something</option> <option value="0">…
Re: Javscript Select onchange with ASP
Programming
Web Development
17 Years Ago
by DangerDev
hi change last line of <a..... tag as follow -put one id attribute there then: -using javascript's getElementById() function get that anchor element. -change the attribute href using function: element.setAttribute("href","link_str"); -link_str is the complete text link string. using above method you can dynamically change…
Re: Javscript Select onchange with ASP
Programming
Web Development
17 Years Ago
by TobbeK
Hi, thanks for the reply. I'm not a javascripter so I need some more examples where to place the items <SELECT ONCHANGE="link_str = element.setAttribute("href","link_str");"> <option value="">Choose something</option> <option value="0">------------------</option>…
Re: Javscript Select onchange with ASP
Programming
Web Development
17 Years Ago
by DangerDev
learn some javascript, at least basics; and some [URL="http://www.w3schools.com/htmldom/dom_intro.asp"]dom[/URL], it will help you to understand what i have written.
Re: Javscript Select onchange with ASP
Programming
Web Development
17 Years Ago
by TobbeK
Nope, doesn't work I use this one instead, it makes a page reload but I can live with that. <form id=frm action=select_menu.asp method=post> <select name=optval onchange=frm.submit()>") <option value="">Choose something</option> <option value="">------------------</option> <…
Re: Javscript Select onchange with ASP
Programming
Web Development
17 Years Ago
by katarey
Hi There, I have Seen your Code and found that you are using frm.submit() function, in this function "frm" is the name of the form which you want submit, but you haven't define any name in form tag, This Code Will Work [CODE]<form name="frm" action="test.asp" method="post"> <select name="…
Re: Javscript Select onchange with ASP
Programming
Web Development
17 Years Ago
by TobbeK
Thanks Kataray Works great as long as value has been chosen. The link (url) must be there even if no value has been set. So I'm back on square 1 again. :-)
Re: Javscript Select onchange with ASP
Programming
Web Development
17 Years Ago
by katarey
Thats OK, just put a default links src for a tag, function will work as is, [CODE] <a href="menu.asp" id="linkToChange">Link</a> or <a href="menu.asp?id=what ever you want" id="linkToChange">Link</a> [/CODE] thanks Rahul Dev Katarey
Javscript and json objects
Programming
Web Development
17 Years Ago
by Thirusha
I am very new to json and havent used much ojects in javascript. I have created a json object, and after i move through a couple of forms in my app i want to access that same object, is there a way to do it? Any help will be greatly appreciated. Thanx T
Re: Javscript and json objects
Programming
Web Development
17 Years Ago
by DangerDev
you can store that object in data base. and later you can retrive it. why actually you want to do that ?
Re: Javscript and json objects
Programming
Web Development
17 Years Ago
by Thirusha
Thanx for taking the time to answer my question, i came across a javascript 'window' which allows me to set the variable for that window, so i can access it across any of my other pages.
Re: Javscript and json objects
Programming
Web Development
17 Years Ago
by ~s.o.s~
There is no way you can access a Javascript variable set on a page on other pages. Just pass around the JSON object to the server and persist it in the client session if you need it across pages / requests. You can even process the JSON object at the server using the server side language of your choice.
Re: Javscript and json objects
Programming
Web Development
17 Years Ago
by Thirusha
I am sorry but i wasnt very clear in my initial post. :icon_redface: I have and index page and inside that page using ajax the user has to fill out some forms, so if i set a variable to be available for the 'window' using 'window.variablename' in javascript i m able to access that in the other jsp pages, that are loading inside my main index page…
Javscript framework
Programming
Web Development
16 Years Ago
by hbmarar
Hi , I am looking for a javascript framework which is stable first of all and supports many things like I say, i could drag and drop, sliders, do some event based effects, AJax. I think facebook got some functionalities that i am looking but am not able to make out which is the JS framework they are using. Any idea? I would …
Re: Javscript framework
Programming
Web Development
16 Years Ago
by Stylish
[url=http://jquery.com/]jQuery[/url] [url=http://dojotoolkit.org/]dojo[/url] [url=http://script.aculo.us/]scriptaculous[/url] [url=http://www.prototypejs.org/]Prototype[/url] [url=http://extjs.com/]ext[/url]
Re: Javscript framework
Programming
Web Development
16 Years Ago
by Drew
Don't forget my favorite, [URL="http://www.mootools.net"]MooTools[/URL]
Re: Javscript framework
Programming
Web Development
16 Years Ago
by hbmarar
hi to all, By the way, I am still not able to digg out the JS framework in use with facebook. Actually, client refered facebook API, for use if possible
Javscript popup window focus problem
Programming
Web Development
15 Years Ago
by ayo991
I have a simple page that has two popup windows ran with css and javascript. Using the edit button, the windows popup correctly, but I cannot get the position to be right. When I click edit on either of the two links, the div opens at the top edit rather than where it should. I think this must be a problem with the focus, but i cannot seem to …
1
2
3
5
Next
Last
Search
Search
Forums
Forum Index
Hardware/Software
Recommended Topics
Programming
Recommended Topics
Digital Media
Recommended Topics
Community Center
Recommended Topics
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Top Members
Meet People
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2025 DaniWeb® LLC