http://something.com:80/somedir/index.html?type=test;one=onevalue#nose
This is typical URI structure my question is what is "#nose" and how i can use/utilize it as web developer ?
Thanks all.
![alt text][1]Im am trying to test wcf method in C#. method return type is ilist. I need to catch that returned data in to an ilist and then i have to retrive each item from ilist. can some one send me a sample code how to do this?
Hello Experts,
I need to run two web application in tomcat 6.0(Windows). My requirement is both applications should be in root folder to work.
Any clue where do I need to make changes to setting files ?
I have a DIV to be shown as modal dialog in my ASP.Net MVC project. This DIV has a textbox to accept user input. However, when I open the dialog with modal option set to true, it disables this textbox as well along with parent form controls!
How do I enable the controls on the dialog when open as modal?
<div id="assumption-block" class="ic-assumption-block-pos">
<input type="text" id="maxid" value="text" />
</div>
Script
$('#assumption-block').dialog({modal:true});
Hi All,
I am New to the iPhone Development. How can i carry a string value from view2 to view1 when using navigation bar. I have no problem in carrying string values from view1 to view2 to view3 to....by using pushviewcontroller But when i come back to previous views using Back button of navigation bar, I cannot able to hold string values.
I need your help in solving this issue.
Thanks In Advance
I want to know what are the best links in a site are? It may be pagerank wise or popularity wise. For example http://www.pragprog.com is a site. I want to find out what are the most relevant links this site has. The links should not be external pointing links. It should be of the same site. Do google or any similar site can tell such information?
I would like to do this because i have half installed service because of installation failure which is just there non functioning.
How can we remove the windows service using the command line ?
I need to delete or hide the Img tag or its parent when Img have src="".
I have a script but it is not working..
window.onload=function(){
var imgs = document.getElementsByTagName("img");
for(var i = 0; i < imgs.length; i++)
{
var img = imgs[i];
if(img.src==""){
img.parentNode.removeChild(img);
}
}
}
Its is not finding the img having scr="". while in IE and Safari is is showing cross sign ( Red ).
Can anybody help.
Thanks.
<a class="success" href="javascript:void(0)"></a>
//CSS for setting background for above link
a.success:hover{
//set background image
}
What my intent is to change the class of link on server side based on success/fail and set icon for the link accordingly. But above CSS is not working as expected.
Can someone plz help with this.
Whether JavaSript, C# or C++ main problem i face while reading the code is which function is called by which function. This problem is big when dealing with BIG code.
Is there any static code analysis tool/technique/plugins using which a graphical representation of the code can be generated(something like below) so that reading/analyzing code becomes easy?
....
--outerFuntion()
---innerFunction()
----innerFunction2()
--outerFunction2()
....
Please provide your inputs/opinions on this
Thanks all,
Select user_name [User Name], first_name [First Name], last_name [Last Name]
Form tab_user
ORDER BY user_name
Select user_name [User Name], first_name [First Name], last_name [Last Name]
Form tab_user
ORDER BY User Name
Above are the two queries,
Is there any difference because of the user_name used instead of User Name
Is there something that should be taken care/worried when using something like this.
I am trying following,
1. Get response using Ajax from the users selection which returns me the list of the radio buttons attributes as
2. Once i get the attribute list i am creating the radio buttons using createElement()
3. Then i am attaching the event to the radio button for onclick buttons.
4. Then i add element to the DOM using appedChild
The below is code for adding radio button (for IE)
var radio = '<input ';
radio += 'type ="radio" ';
radio += 'id="' + id + '" ';
radio += 'value="" ';
radio += '/>';
radioButton = document.createElement(radio);
radioButton.onClick = function(){alert('this is test')}
ele.appendChild(radioButton);
ele.innerHTML += 'none' + '<br/>';
Now in all this when i am adding the radio button to the DOM onclick is not working and i don't understand why ?
Thanks all
Is there limitation for maximum number of files which can be uploaded in SharePoint location in one folder.
Is there limitation for maximum number of folders/sub folders which can be created in SharePoint location.
Whether specific naming convention is required to be followed for folder/file creation in SharePoint(Special character allowed)?
<input type="button" name="reset"
onclick="return ValidateValue(); __doPostBack('ApplyBtn','')" />
The above is the code generated for asp server button button control on browser.
Now my query is that irrespective of ValidateValue() returning true/false __doPostBack('ApplyBtn','') function is not showing any effect for me.
My understanding is that string passed to onclick acts like function body, and return will from first function will return control preventing second function from execution.
Is that correct ?
Please provide helpful inputs.
I have a requirement to read JSON data in my application. Problem is that the JSON data that I am getting from the service includes "-" and when I am trying to read it, I am getting "Uncaught ReferenceError: person is not defined ". e.g.
I have below JSON object-
var JSONObject ={
"name-person":"John Johnson",
"street":"Oslo West 16",
"age":33,
"phone":"555 1234567"};
when I am writing below console log statement I am getting "Uncaught ReferenceError: person is not defined " error
console.log(JSONObject.name-person);
Can someone please help me how to read such data which includes "-" in it? I do not have control on the service and the DB so to modify source data is not in my hand.
Hi all
I have a series of asp:ImageButtons and one asp:Image(Big). Clicking on each ImageButton should change the ImageUrl of asp:Image to a new ImageUrl. How can we handle this using one Javascript function. Because I dont wanna code ImageButton_Click for each and every asp:ImageButton. This makes my application run very slow and also pass too many server requests.
Any ideas ????How to design one powerful Javascript function. By the way when the user clicks on ImageButton...the ImageUrl that has to be set to asp:Image(Big) is same as that of ImageButton. This might help a bit.
Thanks in advance
Friends,
currently I dont have iphone to test and using Simulator for testing purposes. I am Just curious to know whether an application continues to run even after a phone call.. here i have no option to test this from simulator. If it terminates then how can i pause things.. and continue after a phone call. Is NSUserDefaults can be used for my case. As far I understood NSuserDefaults are used to store data that is required when the App is next time loaded. But here I dont want my App to terminate instead pause until Call ends and continue as uninterrupted later. Please clear me about this.
Sorry I am still a beginner so I request for no harsh replies if my question looks stupid.
Thanks in Advance
I have table cell which has class "cellActive". Which has following defination
.cellActive{background:"#DDDDDD"}
Now i am trying to read the background color property for the cell and it comes null/"".
var bgColor = cell.style.backgroundColor; // returning ""
Is that something mistake on my part of its by behavior. If CSS class is assigning CSS to element can't we read its value in JS ? Does this mean that if we are not assigning property directly to the element we cant get it if in case its inheriting it ?
I have table cell which has class "cellActive". Which has following defination
.cellActive{background:"#DDDDDD"}
Now i am trying to read the background color property for the cell and it comes null/"".
var bgColor = cell.style.backgroundColor; // returning ""
Is that something mistake on my part of its by behavior. If CSS class is assigning CSS to element can't we read its value in JS ? Does this mean that if we are not assigning property directly to the element we cant get it if in case its inheriting it ?