719 Posted Topics
Re: The best way is to change your webservice so it doesn't return those tags. Post the code for your method. | |
Re: I'd suggest you add an ID to your table and use: `$("#myTable tr:last").after("<your html>");` This will add the new row at the end of the table. | |
Re: To show the default tooltip just add the attributes `title="Buy"` and `alt="Buy"`. If you want a more sofisticated tooltip you'll need javascript to create it. | |
Re: Hi, I'd try something like this: function fadeElements() { var yourFade = 1, // the amount of time in seconds that the elements will fade in AND fade out yourDelay = 2, // the amount of time in seconds that there will be a delay between the fade ins and … | |
Re: `Position` is a reserved word, you should put it in braces: `[Position]`. I think this should solve your problem. It's always good to put names inside `[]`, it can save a lot of time trying to find an error. Look at this link for more information: http://msdn.microsoft.com/en-us/library/aa238507(v=sql.80).aspx | |
Re: How did you implement the counter? Are you handling the IP? | |
Hi, I'm having trouble to filter a Customer Set by the date of his first buy(First Activity). I've tried this two ways: 1. Returns all customers, even with FirstActivity Null SELECT { [Measures].[Valor Item], [Measures].[First Activity] } ON 0, { Filter( { [CLIENTE].[Cliente].[Cliente].Members }, ( [Measures].[First Activity], [Time].[Year].&[2012-01-01T00:00:00] ).Count > … | |
Hi everybody. I'm trying to insert an indented code inside another indented code, using the first indentation as base for the second. I mean, the second indentation must begin at the end of the first. The indentation i got working right, but it is adding some undesired line breaks, that … | |
Hi, I'm starting with BI, Analysis Services, Cubes and ADOMD.NET. I searched a lot and was able to make some demos, but the performance is not good. What I'm trying to do it's a Dimension tree view explorer. Currently I have the following code: [CODE] CubeDef cube = conn.Cubes.Find( "SCA" … | |
Re: Check this link: http://www.tutorialspoint.com/ruby/ruby_operators.htm And please search a little bit before posting very basic questions like this. I have never programmed in Ruby and it didn't take me more than 1 minute to find your answer. | |
Re: What do you mean by "same level"? Can you post a print of what you are trying to accomplish? | |
Re: What type of WebService are you thinking of? SOAP or REST? Creating a SOAP WebService in C# with Visual Studio is pretty easy. Just create a project as ASP.NET Web Service Application, that you'll came with a example method, is very straightfoard. If you are thinking of REST, then you … | |
Re: Using System.IO; Directory.GetFiles(@"c:\InitialPath", "*.cs", SearchOption.AllDirectories); | |
Re: You are not setting the string to the return of the method. It should be: textContent = getLimitedWords(textContent, NumberOfWords); Or you could use a reference parameter, like this: getLimitedWords(ref textContent, 20); public string getLimitedWords(ref string textContent, int NumberOfWords){} | |
Re: It should be like this: document.getElementById("etxt").value = "BelowAverage"; | |
Re: dancks, great idea for learning! About floating divs... I hate it! I just think it's too much pain to use it, if you forget to use `clean` after the headache will be huge. Because of that I ended up using a custom css class to make elements inline: .inline { … | |
Re: You can't remove only the X button you have to remove the control box, like this: `this.ControlBox = false` | |
Re: Probably not. I tested and the results are: IE 9: OK IE 8: Elements are off positions but effects works IE 7: Elements are off positions but effects works | |
Re: I think it's just a syntax problem... It's been a while since I coded in PHP, but this should work: echo '<a href="'.$info['link'].'">.'$info['description'].'</a>'; | |
Re: Hello, I'd made it something like this: function initializeSelect(selectId, divQuantityId){ var select = document.getElementById(selectId), // gets the select element divQuantity = document.getElementById(divQuantityId); // gets the div element for(var i = 0; i <=20; i++) { // create the option var option = document.createElement('option'); option.innerHTML = i; option.value = i; // … | |
Re: The link is not working, please verify it. | |
Re: I'd say your best hope is http://netoffice.codeplex.com/ Good luck! =) | |
Re: What's the problem with your code? What's not working? Which erros does it throw? What can't you figure out? | |
Re: Assuming that `$j(idtext, window.parent.document)` is the right selector of your button: `$j(idtext, window.parent.document).click();` should work. | |
Re: Proglearner, W3Schools is a really nice place to start learning about web. I started there about 6 years ago. But let's go to the point... Knowing how to code is the only way to do exactly what you/your client wants. There's a lot of tools, open-source projects, frameworks that you … | |
Re: Are you thinking that someone will write that code for you? Guess again. ![]() | |
Re: The syntax for creating such an array can be like this: string[,] array2d = new string[,] { {"a1", "b1", "c1", "d1"}, {"a2", "b2", "c2", "d2"}, {"a3", "b3", "c3", "d3"} }; Take a look at those posts for better understanding: http://msdn.microsoft.com/en-us/library/aa288453(v=vs.71).aspx http://www.dotnetperls.com/2d-array | |
Re: What kind of screen, can you tell if it's from a web browser, from windows or really from the notebook manufactor? If possible post a picture. | |
Re: Try this way: <a class='ovalbutton' href='javascript: document.forms["editrecord"].submit();'><span>Update</span></a> | |
Re: The second code block could be something like this: Function AddLevels(ComboBox combo) As Void With combo .AddItem ("") .AddItem ("Level 4") .AddItem ("Level 5") .AddItem ("Level 6") .AddItem ("Level 7") .AddItem ("Lost") End With End Function AddLevels(ComboBox21) AddLevels(ComboBox22) ... Obs.: I don't know if the Class name is really ComboBox, … | |
Re: Boolean is true of false, right? So normally it's used exactly to get/set if a "thing" Can or Can't be done, if it Is or if it isn't and if it Has or Hasn't something. Examples: this.HasChildren this.IsVisible this.CanUpdate or this.IsUpdatable | |
Re: I don't know how to set the values for browser specific css styles. But take a look at this library: http://rekapi.com/ It may be what you need. Coding KeyFrames manually for each browser would be a big headache, if you can use something that is ready, use it. Hope it … | |
Re: Sure you can, but I don't know how Dropbox works. All you need is to put your file in a virtual directory, using IIS, apache or any other. Do you have any host? If so just put the file there and use it's URL. | |
Re: You can create base class, like Model, that has the Caption property, and the Person class would extend the Model class, this way it would inherit the property. And every other class that extends Model would also have the Caption property. | |
Re: I'd make the <label> have the same height and line-height of the input, and use margin to create the space between them. | |
Re: As pointed by stbuchok, your syntax is invalid. It should be: $('#div').load('/controller/_partialview'); ![]() | |
Re: Are you talking about Adobe Flex? If so, how are you creating your app? Just one project that will be entire app or will you have a couple of PHP pages and each one with a different Flex app? | |
Re: Nathaniel10, even thru innerHTML is not an W3C standad, almost every modern browser implement it. Take a look at this http://www.quirksmode.org/dom/w3c_html.html And if you really doesn't want to use it, use `Object.style.textAlign` to set the alignment. | |
Re: Something like this: DELETE FROM my_table WHERE col1 IS NULL AND col2 IS NULL AND col3 IS NULL AND col4 IS NULL | |
![]() | Re: Use a select from the ps_product table to insert into ps_product_supplier. Something like this: INSERT INTO ps_product_supplier (id_product_supplier, id_product, id_product_attribute, id_supplier, product_supplier_reference, product_supplier_price_te, id_currency) SELECT NULL, id_product, 0, id_supplier, supplier_reference, wholesale_price , 3 FROM ps_product ![]() |
Re: You just posted your code, please give more info so we can help. What's the problem with your code? What were the result it gave you? What's the result you want to achive? What things did you try? | |
Re: You are getting the X and Y values as strings, so insted of adding it's concatenating. Ie.: '7' + 10 = 710 Update those two lines: var rx= parseInt( document.getElementById('rx').value ); var ry= parseInt( document.getElementById('ry').value ); | |
Re: You shouldn't declare the imgMember and imgPath twice(once in each function) this can lead to the image being saved with one name to the disk and in the DB with another. Create the name only in the page load and pass it as a paramater to the CreatePhoto method. Did … | |
Re: It's seems that the vertical scrollbar is working OK, tested on Opera and IE 9.  | |
Re: If you really want to learn I suggest you code yourself thru with NotePad++, or any other developers editor. Using DreamWeaver, or any other WYSIWYG editor, can be quite productive, but you won't learn about coding. | |
Hello fellas, I've been participating in Daniweb for quite a while now, but I realize that I never introduced myself, so let's do it ^^ I'm 23 yo, from Brazil. Started into development playing Ultima Online when I was about 15yo. I became a enthusiast in programming, moved to HTML, … | |
Re: What do you mean how much? You can use as many master pages as you see fit. You can nested master pages as well. | |
Re: I think that the only thing you need is to order the select by stockNumber. Group is used when you want to make an calculation on the values, like SUM or AVG, but it doensn't seem that is what you want. Do you want to tranform the query result in … |
The End.