[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x

Web Development

73K

Solutions

48K

Contributors

Web development includes all aspects of presenting content on intranets and the Internet, including delivery development, protocols, languages and standards, server software, browser clients, databases and multimedia generation.

Share tech news, updates, or what's on your mind.

Sign up to Post

I want to do something like in jquery

if the state = "CA" and bondname = "Contractor1" then
      show me the status element value e.g. "Online"

how can I do that in Jquery?

<Surety>
  <SuretyLine>
    <Commercial>
      <Bond>
        <GeneralInformation UI="BondInfo">
          <Name ID="bondName" PrefillValue="Yes">Contractor 1</Name>
          <State ID="bondState" PrefillValue="Yes">CA</State>
       </GeneralInformation>
         <Image></Image>
        <Status>Online</Status>
      </Bond>
  <Bond>
        <GeneralInformation UI="BondInfo">
          <Name ID="bondName" PrefillValue="Yes">Contractor 2</Name>
          <State ID="bondState" PrefillValue="Yes">CA</State>
       </GeneralInformation>
         <Image></Image>
        <Status>Online</Status>
      </Bond>
            <Bond>
        <GeneralInformation UI="BondInfo">
          <Name ID="bondName" PrefillValue="Yes">Contractor asdfasd</Name>
          <State ID="bondState" PrefillValue="Yes">FL</State>
       </GeneralInformation>
         <Image></Image>
        <Status>Online</Status>
      </Bond>
</Commercial>
</SuretyLine>
</Surety>

Open in new window

0
I'm looking for a simple web code (some simple script) which does not play well with Ghostery

Basically I'm looking for something to add to my website which will make a viewer of my website, who is using Ghostery, to not be able to fully use or see our page when Ghostery breaks our page.  The hope is to get them to disable Ghostery when viewing our website.
0
I have developed my website through wordpress, but I have also created a HTML backend/ admin platform...how do I intergrate the backend to my website?
0
I have a web forms project that I am trying to imported into a web application project. I have a custom gridview class that I can't get to work. I have the class define under App_Code.

Namespace Alliance.Controls
    Public Class Gridview
        Inherits System.Web.UI.WebControls.GridView
    End Class
End Namespace

Open in new window


the web.config:
<pages>
<controls>
<add tagPrefix="Alliance" namespace="Alliance.Controls"/>
</controls>
</pages>

Open in new window


aspx file:
<Alliance:Gridview ID="allianceGridview" runat="server"></Alliance:Gridview>

Open in new window


The intellisense works fine on a aspx page. The problem is the designer.vb file has a compile error 'Type Global.Alliance.Controls.Gridview is not defined'

If I change the line:

Protected WithEvents allianceGridview As Global.Alliance.Controls.Gridview

to

Protected WithEvents allianceGridview As Global.myapp.Alliance.Controls.Gridview

The compile error goes away but the aspx page will have a parser error: The base class includes the field 'allianceGridview', but its type (myapp.Alliance.Controls.Gridview) is not compatible with the type of control (Alliance.Controls.Gridview).
0
Hello, I am currently taking a course on CodeCademy.com on front-end web development so I'm fairly new to programming. Once I complete the course I'd like to begin with some basic projects for work to begin gaining experience. As a rookie, I know I will come across many challenges so I am looking to shorten the learning curve by obtaining guidance and support from a qualified mentor/consultant. Are there any providers out there that offer both free or paid consulting services?
I would need help with project consultation, troubleshooting, code review to ensure adequate standards. Thanks!
0
hello experts,

I have a prestashop website and would like to do some php security test through online audit checking website, can you tell me if you know some websites that perform this kind of online checking?

-I have the admin page and I want to make sure nobody access it or know the URL to it, I was thinking about a solution here and would like to know your opinion: I was thinking if I get a static VPN IP address, then my admin URL does not accept any incoming connection unless from the one with my VPN IP address and was wondering to put that in the htaccess, my question here: is this the best practice to protect that admin backend page? What is the effective way in your opinion?

-The other thing is, how can I test my e-commerce website against SQL injection?

By the way, I'm using Cloudways vps server, the database must be accessed through a different address and I suspect you can't access it even with credentials to the server, also this server requires something some permission reset that is available only through the cloudways server account manager, just wondering if that also helps somehow.

thank you
0
Just taking a survey of other developers for best practices in maintaining your search filters and order-by while paging through multiple pages of search results.

Typical scenario.. user enters a few search filters and presses search.   Say, 500 results and showing 25 records per page.  The user changes the display order and clicks through to page 2, page 3, etc.  

What approach are people using to maintain the where-clause (search filters) and the order by so that each page, the same results are shown, but a different page.

Store SQL where clause in session variable?
Save filter criteria to the database?
Save search results to a temporary table and page through them?
Put search fields and order-by fields inside the search form and resubmit them each time?

Pros and cons for all approaches.
Just curious to change/improve my method.
0
I have a compromised joomla 1.5.26 website that needs to be upgraded to joomla 3.x.x.  
The problem is the template was taken from the Artisteer website, with no indication of
the name/number of the template.... I can use something like migrateme for the upgrade to
joomla 3.x.x, however, how do I upgrade the template to be compatible with joomla 3.x.x.  
Is it possible to manually upgrade the template, so that it 'looks' the same as the website does now?
0
My website was hacked. What should I do?
0
Hi,

i wrote my web application with web.xml as below

<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xmlns="http://xmlns.jcp.org/xml/ns/javaee"
	xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd"
	id="WebApp_ID" version="3.1">
<welcome-file-list>
    <welcome-file>simple.jsp</welcome-file>
</welcome-file-list>
	<security-constraint>
		<web-resource-collection>
			<web-resource-name>MyResources</web-resource-name>
			<url-pattern>/*</url-pattern>
		</web-resource-collection>
		<auth-constraint>
			<role-name>myuserrole</role-name>
		</auth-constraint>
	</security-constraint>
	<login-config>
		<auth-method>BASIC</auth-method>
		<realm-name>FILE</realm-name>
	<!-- 	<form-login-config>
			<form-login-page>/login.jsp</form-login-page>
			<form-error-page>/error.jsp</form-error-page>
		</form-login-config> -->
	</login-config>
</web-app>

Open in new window


i added role and username and password to tomcat-users.xml as below

<?xml version="1.0" encoding="UTF-8"?>
<!--
  Licensed to the Apache Software Foundation (ASF) under one or more
  contributor license agreements.  See the NOTICE file distributed with
  this work for additional information regarding copyright ownership.
  The ASF licenses this file to You under the Apache License, Version 2.0
  (the "License"); you may not use this file except in compliance with
  the License.  You may obtain a copy of the 

Open in new window

0
I am trying to move a website to a new Linux server.  The Server has Apache httpd service running.  I have unzipped the home directory of the site to its original folder which is /home/user1/www.websitename.com/web/httpdocs.  The files are below this.  I am not able to browse to the website when I connect to the folder.  How can I get this to work?
0
what web site allow me to publish shorten link???? to earn money from my short link ....i need some web site allow publish ???
allow shorten links from ( cut url , adf)............
0
HI,
I have tried almost everything on the Internet, I am not sure what am still missing.
PC: Windows 10
Router: Port forward enabled with UnPnP

The webserver is a Datasnap REST webserver, (might be irrelevant), hosted with IIS on windows 10 PC, and its accessible to localhost as well as different computer on same network, However its failed to get connect to when accessible via public ip:port  even on same pc.
Tested the port which is listening correctly. I put firewall and Antivirus off for the test.

Please help.

Thanks and Regards,
Vijesh
0
I have a Lex Bot with 3 slots. The user will provide the Lex bot with first name, last name, and birthdate. The user can also fill multiple slots at once, such as 'My name is Steve Jobs.' I'd like the bot to repeat back the users name (or first name, or last name or DOB depending on what was said) before asking the next question. ie -'Thank you, your name is Steve Jobs. May I please have your birthdate'

I figure I need to use the elicitslot dialog action in my lambda function. However, I'm not sure exactly how I can do this. I think I need to figure out someway of keeping track of which slot was just filled. Is there a good way to do that?
0
I work for a organization with a large website. I have been asked to provide the following stats from 2016 about the website:

  • total number of web pages on our website
  • total number of page linked to a newsletter

Regarding bullet number two: A friend suggested that I use Campaigns to track pages being linked to newsletters, which I assume would mean creating a different campaign for every newsletter link. I can do that going forward in 2018, but that doesn't help me find the stats for 2016.


Can I retrieve the 2016 stats for both bullets from GA and how would I do so? If it can not be retrieved from GA, please offer suggestions on how I may find this information.
0
I need a code that does like this site (http://findpostid.com/).

I need to get the unique id of each post by only providing the post URL. Can be in PHP or Javascript
0
Hi All,

I've saved a Visio 2016 file as a webpage, which works very well.

however, when I try to put it as an iframe on our intranet the links stop working.

If I browse the same file in the exact same location the li is work.


Any suggestions?

D
0
Hi All,

I inherited a Joomla 1.5 site.  Within the site, we have a training section and menu is broken.  
Joomla broken menu screenshot.  

Everything else on the site seems to work.  All the other menus work fine in the other sections.  I tried clearing out the cache and creating a new menu module for the site and that did not work.

Thank you for all of your help in advance
0
I want to be Back-end Developer.I want to get quick job.because i want money as possible.
0
Hi,

I just taken over a PHP project but the codes are in MVC. I have a middle level PHP skill.
Any suggestion to debug the codes for MVC ?
I tried the debug_print_backtrace , print_r and var_dump but it doesn't seems helping to trace which files related to which files.
0
website down
unable to log into wordpress
0
Hi,

I'm trying to grab a link from a webpage using google sheets IMPORTXML function.

Inspection using Chrome shows the following:
href.JPG
The XML path shows as:
//*[@id="site-content"]/div/div/div/div[1]/div/div/div[1]/div[1]/a

As per previous question...
https://www.experts-exchange.com/questions/29059324/How-to-scrape-links-from-webpages-using-IMPORTXML.html

...I have tried the following with no luck:
//*[@id="site-content"]/div/div/div/div[1]/div/div/div[1]/div[1]/a/@href

How can I grab the
href="/users/show/143153844"
?

Thanks
0
The link:

http://www.kingislandrenewableenergy.com.au/kiapp-dashboard/dashboard.html

produces a chart that seems to be constantly updating. I would like to do something similar.

I used a sniffer - HTTP Analyzer V7 - to try and understand how the requests are made so that data is sent to the web page. However, I have not been able to find the GET or POST that should be periodically getting more data. I am lost.

How does this thing work?
0
Hi,
 We have sharepoint 2013. We have one aspx pages where we added so many list web parts. We would like to create one drop down list by java script where we can populate drop down by Webpart title by searching any keywords. After filled dropdown we will have to hide and show webparts.

 Here is the link i was following but no luck for sharepoint 2013.

https://wyly.wordpress.com/2009/05/22/showhide-multiple-web-parts/
0
Wordpress whenever I try to approve multiple comments it gives me err connection reset. Started happening after wordpress upgrade.
0

Web Development

73K

Solutions

48K

Contributors

Web development includes all aspects of presenting content on intranets and the Internet, including delivery development, protocols, languages and standards, server software, browser clients, databases and multimedia generation.